mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 09:26:42 +00:00
dev: Add fast test npm task, to speed development
Currently running the tests is painfully slow, this commit adds a task which will run the bare minimum build, and then the tests, speeding up the process by an order of magnitude. I had to repeat `gulp test`, instead of reusing `npm run test`, so that the pretest task isn't ran too. Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
parent
ec589c2639
commit
dac45a884e
@ -40,6 +40,7 @@
|
||||
"release": "npm run build && ts-node --type-check -P automation automation/deploy-bin.ts",
|
||||
"pretest": "npm run build",
|
||||
"test": "gulp test",
|
||||
"test:fast": "npm run build:fast && gulp test",
|
||||
"ci": "npm run test && catch-uncommitted",
|
||||
"watch": "gulp watch",
|
||||
"prettify": "prettier --write \"{lib,tests,automation,typings}/**/*.ts\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user