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:
Michael Krotscheck 2015-06-05 08:32:41 -07:00
parent 8645c29155
commit 99e385df81

View File

@ -23,7 +23,7 @@
"start": "http-server ./refstack-ui/app -a 0.0.0.0 -p 8080",
"pretest": "npm install",
"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"
}
}