angular-cn/aio/content/examples/upgrade-phonecat-2-hybrid/ts/run-unit-tests.sh

8 lines
289 B
Bash
Executable File

## The boilerplate Karma configuration won't work with AngularJS tests since
## a specific loading configuration is needed for them.
## We keep one in karma.conf.ajs.js. This scripts runs the AngularJS tests with
## that config.
PATH=$(npm bin):$PATH
tsc && karma start karma.conf.ajs.js