Skip to content

Commit 8bb7cfe

Browse files
committed
refactor: filter unit tests
Now that our integration tests also use Jest, we need to update our unit test script to ignore `test/integration`.
1 parent 52f5b52 commit 8bb7cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dev/test-unit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ main() {
3030
# We must keep jest in a sub-directory. See ../../test/package.json for more
3131
# information. We must also run it from the root otherwise coverage will not
3232
# include our source files.
33-
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@"
33+
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --testRegex "./test/unit/.*ts" --testPathIgnorePatterns "./test/unit/node/test-plugin"
3434
}
3535

3636
main "$@"

0 commit comments

Comments
 (0)