-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Streamline mocha
config
#1905
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,13 +26,16 @@ | |
"google storage", | ||
"storage" | ||
], | ||
"mocha": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does moving this here vs the command line provide? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It allows 2 things:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add, if |
||
"require": "ts-node/register", | ||
"extension": "ts" | ||
}, | ||
"scripts": { | ||
"predocs": "npm run compile", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"mocha": "mocha --require ts-node/register --extension ts", | ||
"system-test": "npm run mocha -- system-test --timeout 600000 --exit", | ||
"conformance-test": "npm run mocha -- --parallel --require conformance-test/globalHooks.ts conformance-test/", | ||
"test": "c8 npm run mocha -- test", | ||
"system-test": "mocha system-test --timeout 600000 --exit", | ||
"conformance-test": "mocha --parallel --require ts-node/register --require conformance-test/globalHooks.ts conformance-test/", | ||
"test": "c8 mocha test", | ||
"lint": "gts check", | ||
"samples-test": "npm link && cd samples/ && npm link ../ && npm test && cd ../", | ||
"all-test": "npm test && npm run system-test && npm run samples-test", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does moving this here vs the command line provide?