Skip to content

Commit

Permalink
restored tsc check and allowing mocha arguments passing from yarn test
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Sep 1, 2023
1 parent b83f84e commit bfcbd49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

set -euo pipefail

c8 mocha "$@"
tsc
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"docs:build": "yarn build && vitepress build civet.dev",
"docs:preview": "yarn build && vitepress preview civet.dev",
"prepublishOnly": "yarn build && yarn test",
"test": "c8 mocha"
"test": "bash ./build/test.sh"
},
"author": "Daniel X. Moore",
"license": "MIT",
Expand Down

0 comments on commit bfcbd49

Please sign in to comment.