Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker image to easily run Karma tests using Karma and PhantomJS.
Full Description

Introduction

Docker image to easily run Karma tests using Karma and PhantomJS

Getting started

Requirements

Usage

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

Configuration

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
Owner
huli
Source Repository

Comments (0)