Simen Bekkhus
Simen Bekkhus
https://github.com/facebook/jest/blob/601ba290cd3c456c433461326df4c98dd4d07161/packages/jest-types/__typetests__/config.test.ts Then `yarn test-types` to run them
Is there still an issue here with the updated docs?
@notoriousmango ping 🙂
Sorry about that! I'm fixing `preset` in #13583 as that's obviously a bug. However, e.g. `testTimeout` only works as global config, not as part of `projects`. https://github.com/facebook/jest/blob/dfc87111e708b9294dc54ab0c17712972d042c1c/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts#L61-L63 https://github.com/facebook/jest/blob/dfc87111e708b9294dc54ab0c17712972d042c1c/packages/jest-jasmine2/src/index.ts#L43 It probably...
Preset fixed in https://github.com/facebook/jest/releases/tag/v29.3.1. It's midnight here now, so I'll need to revisit tomorrow and verify what's the correct behaviour for the other fields. Even if it makes sense that...
>Am I understanding correctly? That's correct. > The only addition I would tack on to what you're saying is that: Despite the warning, the project setting does work correctly and...
Thanks for the list! `coverageReporters `, `maxConcurrency`, `reporters` (probably `verbose` as well as AFAIK it's only used in reporters) and `watchPlugins` at least are global config so the warning is...
See https://github.com/facebook/jest/blob/4fd1cb3926f93974a1f10d995ed73368784bc6b9/packages/jest-config/src/index.ts#L77-L201 The coverage stuff should probably move... We might need a major version to clean this up. --- However, looking at OP, they get the error in a single...
Seems reasonable to me, but I'm not sure how easy such an optimization is to fit into the current way the transformer is called. With no promise of it landing,...
Any news on this one? 😀