Modular test behaviour on non-modular packages #2168
Unanswered
cristiano-belloni
asked this question in
General
Replies: 1 comment 3 replies
-
My gut is that we should run a test script if it exists, otherwise ignore. This would be the most extensible/customisable option with an intuitive interface. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What do you think it should happen if the user runs tests for a non-modular workspace?
For example, suppose that we have a non-modular workspace called
nm-pkg
in a modular repository and, respectively:yarn modular test --package "nm-pkg" --package "my-other-modular-pkg"
yarn modular test --changed
andnm-pkg
's code has changedyarn modular test --changed --ancestors
andnm-pkg
is an ancestor dependency of a workspace that has changedBeta Was this translation helpful? Give feedback.
All reactions