-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested jest presets #8714
Comments
As a workaround:
|
It is working! I had to do make a small tweak though: const childPreset = require("child-preset/jest-preset.js")
module.exports = Object.assign(childPreset, {
// current preset stuff
}) (It's possible you have to do |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When a preset itself defines another preset, that preset is ignored
To Reproduce
Create a preset depending on another preset
Expected behavior
Both presets are merged
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: