Skip to content

Commit 6489051

Browse files
author
Amir Moualem
authored
Merge pull request #377 from snyk/chore/unit-test-timeout
chore: increase the timeout for unit tests to prevent flakiness
2 parents 5fa77ab + 533e9da commit 6489051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"pretest": "./scripts/build-image.sh",
77
"test": "npm run lint && npm run build && npm run test:unit && npm run test:integration",
8-
"test:unit": "NODE_ENV=test tap test/unit",
8+
"test:unit": "NODE_ENV=test tap test/unit --timeout=300",
99
"test:system": "tap test/system --timeout=600",
1010
"test:integration": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",
1111
"test:integration:kind": "DEPLOYMENT_TYPE=YAML TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts --timeout=900",

0 commit comments

Comments
 (0)