Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 3549410

Browse files
committed
test: Add --verbose --useStderr to jest test scripts.
1 parent a2c9bd5 commit 3549410

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@
4040
"watch": "webpack --progress --watch --mode=development",
4141
"eslint": "eslint --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
4242
"test": "jest --detectOpenHandles",
43-
"test-unit": "jest test/unit --detectOpenHandles",
43+
"test-unit": "jest test/unit --verbose --useStderr --detectOpenHandles",
4444
"test-types": "(cd test/exports && npm run link) && tsc --noEmit --incremental --project ./tsconfig.test.json",
4545
"coverage": "jest --coverage",
46-
"test-integration": "jest --forceExit test/integration",
46+
"test-integration": "jest --verbose --useStderr --forceExit test/integration",
4747
"test-exports": "cd test/exports && npm run link && npm test",
48-
"test-integration-no-resend": "jest --forceExit --testTimeout=15000 --testPathIgnorePatterns='resend|Resend' --testNamePattern='^((?!(resend|Resend|resent|Resent|gap|Gap)).)*$' test/integration/*.test.*",
49-
"test-integration-resend": "jest --forceExit --testTimeout=20000 --testNamePattern='(resend|Resend|resent|Resent)' test/integration/*.test.*",
50-
"test-integration-dataunions": "jest --forceExit --testTimeout=15000 --runInBand test/integration/dataunion",
48+
"test-integration-no-resend": "jest --verbose --useStderr --forceExit --testTimeout=15000 --testPathIgnorePatterns='resend|Resend' --testNamePattern='^((?!(resend|Resend|resent|Resent|gap|Gap)).)*$' test/integration/*.test.*",
49+
"test-integration-resend": "jest --verbose --useStderr --forceExit --testTimeout=20000 --testNamePattern='(resend|Resend|resent|Resent)' test/integration/*.test.*",
50+
"test-integration-dataunions": "jest --verbose --useStderr --forceExit --testTimeout=15000 --runInBand test/integration/dataunion",
5151
"test-memory": "node --gc-global --predictable-gc-schedule node_modules/.bin/jest test/memory",
52-
"test-flakey": "jest --forceExit test/flakey/*",
52+
"test-flakey": "jest --verbose --useStderr --forceExit test/flakey/*",
5353
"test-browser": "node ./test/browser/server.js & node node_modules/nightwatch/bin/nightwatch ./test/browser/browser.js && pkill -f server.js",
5454
"install-example": "cd examples/webpack && npm ci",
5555
"build-example": "cd examples/webpack && npm run build-with-parent",

0 commit comments

Comments
 (0)