Skip to content

Commit

Permalink
Add 2.5s timeout for tests
Browse files Browse the repository at this point in the history
And that puts the nail in the coffin for node 18 that doesn't
implement that option.
  • Loading branch information
p2004a committed Jun 8, 2024
1 parent 8c81def commit b218209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "tsc && node --enable-source-maps dist/main.js",
"build": "tsc",
"build:prod": "tsc -p tsconfig.prod.json",
"test": "tsc && node --enable-source-maps --test",
"test": "tsc && node --enable-source-maps --test --test-timeout=2500",
"coverage": "tsc && node --enable-source-maps --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
Expand All @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"type": "module",
"engines": {
"node": ">=18.20"
"node": ">=20"
},
"dependencies": {
"ajv": "^8.14.0",
Expand Down

0 comments on commit b218209

Please sign in to comment.