You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vitest hangs if the PostCSS config is in package.json.
Also, it throws errors if use postcss.config.js w/o the require shape (which is not supported by Next.js, so I cannot make Vitest and Next.js work together):
⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯
Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /home/runner/work/matters-web/matters-web): [TypeError] Invalid PostCSS Plugin found at: plugins[0]
(@/home/runner/work/matters-web/matters-web/postcss.config.js)
TypeError: Invalid PostCSS Plugin found at: plugins[0]
### Used Package Manager
npm
### Validations
- [X] Follow our [Code of Conduct](https://github.com/vitest-dev/vitest/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://vitest.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/vitest-dev/vitest/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitest-dev/vitest/discussions) or join our [Discord Chat Server](https://chat.vitest.dev).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
The text was updated successfully, but these errors were encountered:
Describe the bug
Vitest hangs if the PostCSS config is in
package.json
.Also, it throws errors if use
postcss.config.js
w/o therequire
shape (which is not supported by Next.js, so I cannot make Vitest and Next.js work together):Reproduction
npm install
;npm run test:unit
;System Info
The text was updated successfully, but these errors were encountered: