Skip to content

Commit

Permalink
Move tests to use Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
recrsn committed Oct 6, 2022
1 parent 5a7082a commit 8d201d1
Show file tree
Hide file tree
Showing 13 changed files with 8,897 additions and 4,618 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ build*
*.node
*.sw[a-z]
node_modules
.idea/
12,171 changes: 8,297 additions & 3,874 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"url": "https://github.com/kelektiv/node.bcrypt.js/issues"
},
"scripts": {
"test": "npm ci --build-from-source && nodeunit test",
"test": "npm ci --build-from-source && jest",
"install": "node-pre-gyp install --fallback-to-build"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"node-addon-api": "^5.0.0"
},
"devDependencies": {
"nodeunit": "^0.11.3"
"jest": "^29.1.2"
},
"contributors": [
"Antonio Salazar Cardozo <savedfastcool@gmail.com> (https://github.com/Shadowfiend)",
Expand Down Expand Up @@ -64,4 +64,4 @@
3
]
}
}
}
181 changes: 0 additions & 181 deletions test/async.js

This file was deleted.

Loading

0 comments on commit 8d201d1

Please sign in to comment.