O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the tests

Now, let's run the test by typing tsc to create the transpiled JS files, and then running the following command:

 karma start karma.ang.conf.js 

Karma will then find ALL of the .spec.js files and then run all of them on your Chrome browser, testing all the functionalities that you defined in each .spec.js file.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required