Added test-auto-watch target
This switches the old `npm run test-single-run` to `npm run test-auto-watch`, which I feel is a little more useful for day-to-day development. It'll rerun tests whenever it detects changes in its configured files. Change-Id: I453c47794cb0a4777cd1fac64b2db3000020f5bf Depends-on: I26fc5b1f780453202af8d1d43575bbf2aa53d27e
This commit is contained in:
parent
8645c29155
commit
99e385df81
@ -23,7 +23,7 @@
|
|||||||
"start": "http-server ./refstack-ui/app -a 0.0.0.0 -p 8080",
|
"start": "http-server ./refstack-ui/app -a 0.0.0.0 -p 8080",
|
||||||
"pretest": "npm install",
|
"pretest": "npm install",
|
||||||
"test": "karma start ./refstack-ui/tests/karma.conf.js --single-run",
|
"test": "karma start ./refstack-ui/tests/karma.conf.js --single-run",
|
||||||
"test-single-run": "karma start ./refstack-ui/tests/karma.conf.js --single-run",
|
"test-auto-watch": "karma start ./refstack-ui/tests/karma.conf.js --auto-watch",
|
||||||
"lint": "eslint -c ./.eslintrc --no-color ./refstack-ui"
|
"lint": "eslint -c ./.eslintrc --no-color ./refstack-ui"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user