Docker image to easily run Karma tests using Karma and PhantomJS.
To use this image to run your app tests use the following command in your project
docker run --rm -ti -v "$PWD":/app huli/karma npm test
This image comes with the following packages preinstalled:
If you are using promises in your tests, make sure to add the polyfill file to your karma.conf.js file:
files: [ '/install/node_modules/babel-polyfill/dist/polyfill.js' ]
Docker Pull Command