Skip to content

Commit 44f6483

Browse files
authored
Fixed yarn script call (#39)
* Fixed `yarn test` script, which would not run locally, since `node --test test` expects a glob pattern, not a directory.
1 parent 26fca05 commit 44f6483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lint:code": "eslint *.js lib/ --ext .js --cache",
1818
"lint": "yarn lint:code && yarn lint:test",
1919
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
20-
"test": "node --test test",
20+
"test": "node --test 'test/*.test.js'",
2121
"posttest": "yarn lint",
2222
"preship": "yarn test",
2323
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi"

0 commit comments

Comments
 (0)