Skip to content

Continuous unit testing

Minko Gechev edited this page Oct 10, 2016 · 4 revisions

Run the following task:

# Development. Your app will be watched by karma
# on each change all your specs will be executed.
npm run test.watch

# NB: The command above might fail with a "EMFILE: too many open files" error.
# Some OS have a small limit of opened file descriptors (256) by default
# and will result in the EMFILE error.
# You can raise the maximum of file descriptors by running the command below:
ulimit -n 10480