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
Although the nx monorepo has a central jest.config.js and for some repos it may work to just run jest, we have a repo in which some projects have different tsconfigs to be used when running tests on them.
So we must use nx test project or stuff like nx affected:test or nx run-many --target=test --all.
This doesn't work quite well with this extension because
it doesn't recognize that the list of "affected" projects changed and that the tests should be reloaded (but can be solved by manually restarting the runners),
even when running for already known affected projects, or all projects, the extension - from time to time - resets the list of the tests, purging the projects that have already been run, and leaving only some of the tested stuff.
I'd like to at least have the (2) solved. Maybe there is some switch I could use? I though --parallel=1 would help, but it doesn't.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Although the nx monorepo has a central jest.config.js and for some repos it may work to just run jest, we have a repo in which some projects have different tsconfigs to be used when running tests on them.
So we must use nx test project or stuff like
nx affected:test
ornx run-many --target=test --all
.This doesn't work quite well with this extension because
it doesn't recognize that the list of "affected" projects changed and that the tests should be reloaded (but can be solved by manually restarting the runners),
even when running for already known affected projects, or all projects, the extension - from time to time - resets the list of the tests, purging the projects that have already been run, and leaving only some of the tested stuff.
I'd like to at least have the (2) solved. Maybe there is some switch I could use? I though
--parallel=1
would help, but it doesn't.Beta Was this translation helpful? Give feedback.
All reactions