Skip to content

Commit

Permalink
chore: Bump jest default test timeout to 30s (#10550)
Browse files Browse the repository at this point in the history
Across all packages.
  • Loading branch information
spalladino authored Dec 9, 2024
1 parent 1e21f31 commit 841bf48
Show file tree
Hide file tree
Showing 40 changed files with 97 additions and 46 deletions.
3 changes: 2 additions & 1 deletion yarn-project/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/aztec.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/aztec-faucet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/ethereum": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/aztec-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/archiver": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/aztec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"engines": {
"node": ">=18"
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/bb-prover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/accounts": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/foundation": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/circuit-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuits.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/circuits.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
}
}
3 changes: 2 additions & 1 deletion yarn-project/cli-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/accounts": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/archiver": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
"rootDir": "./src",
"testTimeout": 30000
}
}
3 changes: 2 additions & 1 deletion yarn-project/entrypoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/aztec.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/epoch-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"engines": {
"node": ">=18"
Expand Down
5 changes: 3 additions & 2 deletions yarn-project/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"engines": {
"node": ">=18"
}
}
}
3 changes: 2 additions & 1 deletion yarn-project/foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/bb.js": "portal:../../barretenberg/ts",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/ivc-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/bb.js": "../../ts",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/key-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/kv-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
]
],
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
"rootDir": "./src",
"testTimeout": 30000
}
}
4 changes: 2 additions & 2 deletions yarn-project/merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src",
"testTimeout": 15000,
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
Expand All @@ -55,7 +54,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/noir-contracts.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/aztec.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/noir-protocol-circuits-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuits.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/p2p-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}
]
],
"testTimeout": 15000
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
22 changes: 18 additions & 4 deletions yarn-project/package.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"engines": {
"node": ">=18"
},
"files": ["dest", "src", "!*.test.*"],
"files": [
"dest",
"src",
"!*.test.*"
],
"devDependencies": {
"@jest/globals": "^29.5.0",
"@types/jest": "^29.5.0",
Expand All @@ -19,7 +23,9 @@
"ts-node": "^10.9.1"
},
"jest": {
"extensionsToTreatAsEsm": [".ts"],
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
Expand All @@ -39,8 +45,16 @@
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"reporters": [["default", { "summaryThreshold": 9999 }]],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
],
"testTimeout": 30000,
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
}
}
}
3 changes: 2 additions & 1 deletion yarn-project/proof-verifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
]
],
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
"rootDir": "./src",
"testTimeout": 30000
}
}
3 changes: 2 additions & 1 deletion yarn-project/protocol-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuits.js": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/prover-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/bb-prover": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/prover-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/archiver": "workspace:^",
Expand Down
5 changes: 3 additions & 2 deletions yarn-project/pxe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/bb-prover": "workspace:^",
Expand Down Expand Up @@ -112,4 +113,4 @@
"engines": {
"node": ">=18"
}
}
}
3 changes: 2 additions & 1 deletion yarn-project/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"engines": {
"node": ">=18"
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/sequencer-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
}
}
3 changes: 2 additions & 1 deletion yarn-project/simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"summaryThreshold": 9999
}
]
]
],
"testTimeout": 30000
},
"dependencies": {
"@aztec/circuit-types": "workspace:^",
Expand Down
Loading

0 comments on commit 841bf48

Please sign in to comment.