Sign inSign up

huli/karma

By huli

Updated almost 3 years ago

Docker image to easily run Karma tests using Karma and PhantomJS.

Image
0

10K+

huli/karma repository overview

Introduction

Docker image to easily run Karma tests using Karma and PhantomJS

Karma

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'
]

Tag summary

Content type

Image

Digest

sha256:2e2e9c705

Size

399.5 MB

Last updated

almost 4 years ago

docker pull huli/karma