What does "onSave": "test-only"
do?
#803
Unanswered
JordanLongstaff
asked this question in
Q&A
Replies: 1 comment 1 reply
-
if you turned off the watch mode and configured onSave then it should trigger jest run when you save a file jest considered as test file, i.e. it should be within the list returned by |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've seen this option in the README, but I don't see it anywhere in the code. I thought that its intended purpose was to watch for a test file to be saved and then run only the tests that appeared to be modified, but I'm making edits to a test file that are completely pointless and purposely situated outside of any actual test in the file, and then Jest runs all the tests in the file.
Beta Was this translation helpful? Give feedback.
All reactions