inventis/karma-firefox
Firefox headless container for karma with git, nodejs and npm preinstalled
7.7K
Firefox Container for use with karma has node8 and npm installed example bitbucket pipeline usage:
- step:
caches:
- node
image: inventis/node-firefox
name: Testing in Firefox
script:
- npm install
- ./node_modules/.bin/karma start --single-run --browsers=FirefoxHeadless --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/'
}
docker pull inventis/karma-firefox