Skip to content

Commit

Permalink
test: Updates aging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobo committed Jan 17, 2024
1 parent 5ab3e68 commit f23ce49
Show file tree
Hide file tree
Showing 5 changed files with 215 additions and 226 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.13.0
nodejs 18.19.0
5 changes: 1 addition & 4 deletions ava.config.mjs → ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ const config = {
ts: "module",
},
files: ["test/*.spec.ts", "test/**/*.spec.ts"],
require: ["dotenv/config"],
nodeArguments: [
"--loader=testdouble",
"--loader=ts-node/esm",
"--require=./ava.env.cjs",
"--trace-warnings",
"--experimental-specifier-resolution=node"
],
};

Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"release:before:init": "run-s clean build test",
"rev": "release-it --preRelease",
"syncpack": "syncpack",
"test": "ava",
"test": "NODE_OPTIONS='--loader=ts-node/esm' ava",
"tsup": "tsup",
"verify:cjs": "cd verify/cjs && npm install && node cjs.verify.js",
"verify:esm": "cd verify/esm && npm install && node esm.verify.js"
Expand Down Expand Up @@ -99,7 +99,7 @@
"@types/uuid": "^8",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"ava": "^4.3.0",
"ava": "^5.3.1",
"dotenv": "^16.0.1",
"dpdm": "^3.10.0",
"eslint": "^8.10.0",
Expand All @@ -117,11 +117,10 @@
"release-it": "*",
"shx": "^0.3.4",
"syncpack": "^7.2.1",
"testdouble": "^3.16.6",
"ts-node": "^10.8.1",
"ts-node": "^10.9.2",
"tslib": "^2.4.0",
"tsup": "^6.2.3",
"typescript": "^4.7.3"
"typescript": "^5.3.3"
},
"peerDependencies": {
"mongodb": "^4.7.0",
Expand Down
Loading

0 comments on commit f23ce49

Please # to comment.