Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 8662cb8

Browse files
Cristian TraversoRoberto Ciccone
authored andcommitted
DESIGNER-1882 changing karma test executions
1 parent d138417 commit 8662cb8

3 files changed

Lines changed: 171 additions & 1 deletion

File tree

karma.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
'use strict';
55

6+
process.env.CHROME_BIN = require('puppeteer').executablePath()
7+
68
module.exports = function(config) {
79
config.set({
810
// base path, that will be used to resolve files and exclude
@@ -104,7 +106,7 @@ module.exports = function(config) {
104106
// - Safari (only Mac)
105107
// - PhantomJS
106108
// - IE (only Windows)
107-
browsers: ['PhantomJS'],
109+
browsers: ['ChromeHeadless'],
108110

109111
// If browser does not capture in given timeout [ms], kill it
110112
captureTimeout: 120000,

package-lock.json

Lines changed: 166 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@
5151
"grunt-usemin": "~2.0.2",
5252
"karma": "^1.7.1",
5353
"karma-chai-sinon": "~0.1.4",
54+
"karma-chrome-launcher": "^2.2.0",
5455
"karma-coverage": "~0.1.5",
5556
"karma-mocha": "~0.1.1",
5657
"karma-phantomjs-launcher": "~1.0.4",
5758
"load-grunt-tasks": "~0.5.0",
5859
"mocha": "~2.0.0",
60+
"puppeteer": "^0.13.0",
5961
"selenium-webdriver": "2.53.2",
6062
"traverse": "~0.6.6",
6163
"sinon-chai": "~2.8.0",

0 commit comments

Comments
 (0)