Skip to content

Commit 8d201d1

Browse files
committed
Move tests to use Jest
1 parent 5a7082a commit 8d201d1

13 files changed

+8897
-4618
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ build*
33
*.node
44
*.sw[a-z]
55
node_modules
6+
.idea/

package-lock.json

Lines changed: 8297 additions & 3874 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
"url": "https://github.com/kelektiv/node.bcrypt.js/issues"
2626
},
2727
"scripts": {
28-
"test": "npm ci --build-from-source && nodeunit test",
28+
"test": "npm ci --build-from-source && jest",
2929
"install": "node-pre-gyp install --fallback-to-build"
3030
},
3131
"dependencies": {
3232
"@mapbox/node-pre-gyp": "^1.0.10",
3333
"node-addon-api": "^5.0.0"
3434
},
3535
"devDependencies": {
36-
"nodeunit": "^0.11.3"
36+
"jest": "^29.1.2"
3737
},
3838
"contributors": [
3939
"Antonio Salazar Cardozo <[email protected]> (https://github.com/Shadowfiend)",
@@ -64,4 +64,4 @@
6464
3
6565
]
6666
}
67-
}
67+
}

test/async.js

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)