Skip to content

Commit

Permalink
use jest for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fippo committed Mar 7, 2024
1 parent 28c9f94 commit 4c679c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"postversion": "export GITTAG=\"echo $(git describe --abbrev=0 --tags | sed 's/^v//')\" && git push --force --set-upstream origin bumpVersion --follow-tags && git checkout gh-pages && git pull && cp out/adapter.js adapter.js && cp adapter.js adapter-`$GITTAG`.js && rm adapter-latest.js && ln -s adapter-`$GITTAG`.js adapter-latest.js && mkdir -p adapter-`$GITTAG`-variants && cp out/adapter.js adapter-`$GITTAG`-variants/ && cp out/adapter_*.js adapter-`$GITTAG`-variants/ && git add adapter.js adapter-latest.js adapter-`$GITTAG`.js adapter-`$GITTAG`-variants && git commit -m `$GITTAG` && git push --set-upstream origin gh-pages && git checkout main",
"prepare": "grunt build",
"prepublishonly": "npm test",
"test": "grunt && mocha test/unit && karma start test/karma.conf.js",
"test": "grunt && jest test/unit && karma start test/karma.conf.js",
"lint-and-unit-tests": "grunt && jest test/unit",
"e2e-tests": "grunt && karma start test/karma.conf.js"
},
Expand Down

0 comments on commit 4c679c9

Please sign in to comment.