Answers for "jest run 1 file"

1

run jest on single file

npm test <ng-project> -- --testFile "file-name-part"
Posted by: Guest on May-11-2021
0

jest run current file

option:1: (Specific test case)
node_modules.binjest "c:/Projects/src/tests/libs/Pusher/PushService.test.ts" -t "Should reconnect with different key on environment change"

option2: (Specific file- all test cases in that)
node_modules.binjest "c:/Projects/src/tests/libs/Pusher/PushService.test.ts"
Posted by: Guest on December-08-2021

Browse Popular Code Answers by Language