angular-cn/aio/content/examples/upgrade-phonecat-3-final/run-unit-tests.sh

7 lines
279 B
Bash

## The boilerplate Karma configuration won't work with AngularJS tests
## which require their own special loading configuration, `karma.conf.ng1.js`.
## This scripts runs the AngularJS tests with that AngularJS config.
PATH=$(npm bin):$PATH
tsc && karma start karma.conf.ng1.js