Sign inSign up

inventis/karma-chrome

By inventis

Updated over 6 years ago

Chrome headless container for karma with git, nodejs and npm preinstalled

Image
0

7.6K

inventis/karma-chrome repository overview

KARMA Chrome HEADLESS container

Chrome Container for use with karma has node8 and npm installed example bitbucket pipeline usage:

- step:
    caches:
        - node
    image: inventis/node-chrome
    name: Testing in Chrome
    script:
        - npm install
        - ./node_modules/.bin/karma start --single-run --browsers=ChromeHeadless --reporters junit

be sure to have karma junit reporter installed and this config added to your karma.config.js for pipelines to pickup the output:

    junitReporter: {
        outputDir: './test-reports/'
    }

Tag summary

Content type

Image

Digest

Size

372.5 MB

Last updated

over 6 years ago

docker pull inventis/karma-chrome