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
After seeing the issue about overriding the coverage threshold hasn't that much of interest #7529 I was wondering if we should at least show that there is a workaround for that. The issue is close therefore I can't give my example there but I have the feeling it might still interest some people within the doc. If you think it's a good thing I can do the PR to update the documentation.
Here is my proposed solution of the config jest.config.ts
It feels to big to end up in the documentation in my opinion. Maybe just a text that mention
The **/*.ts glob pattern does not allow direct overriding of files found during the search. However, a workaround exists: if a file is listed multiple times, the last occurrence will take precedence, effectively overriding earlier ones. Programmatically you could generate an object containing all .ts files of your project and then manually overriding them. You can find an example to this github issue #7529
The text was updated successfully, but these errors were encountered:
Page(s)
https://jestjs.io/docs/configuration#coveragethreshold-object
Description
After seeing the issue about overriding the coverage threshold hasn't that much of interest #7529 I was wondering if we should at least show that there is a workaround for that. The issue is close therefore I can't give my example there but I have the feeling it might still interest some people within the doc. If you think it's a good thing I can do the PR to update the documentation.
Here is my proposed solution of the config
jest.config.ts
It feels to big to end up in the documentation in my opinion. Maybe just a text that mention
The text was updated successfully, but these errors were encountered: