Skip to content

Commit a862b28

Browse files
authored
chore(dev) PhantomJS (PatrickJS#946)
* ~ **do not** love PhantomJS, but as to have unit test running in the `console` und in most CIs
1 parent 0be0523 commit a862b28

File tree

3 files changed

+237
-2
lines changed

3 files changed

+237
-2
lines changed

config/karma.conf.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = function(config) {
7777
* available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
7878
*/
7979
browsers: [
80-
'Chrome'
80+
'PhantomJS'
8181
],
8282

8383
customLaunchers: {
@@ -95,7 +95,10 @@ module.exports = function(config) {
9595
};
9696

9797
if (process.env.TRAVIS){
98-
configuration.browsers = ['ChromeTravisCi'];
98+
configuration.browsers = [
99+
'ChromeTravisCi',
100+
'PhantomJS'
101+
];
99102
}
100103

101104
config.set(configuration);

npm-shrinkwrap.json

Lines changed: 230 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
@@ -108,10 +108,12 @@
108108
"karma-coverage": "^1.1.1",
109109
"karma-jasmine": "^1.0.2",
110110
"karma-mocha-reporter": "^2.0.0",
111+
"karma-phantomjs-launcher": "^1.0.2",
111112
"karma-remap-coverage": "^0.1.1",
112113
"karma-sourcemap-loader": "^0.3.7",
113114
"karma-webpack": "1.8.0",
114115
"parse5": "^1.3.2",
116+
"phantomjs": "^2.1.7",
115117
"protractor": "^3.2.2",
116118
"raw-loader": "0.5.1",
117119
"rimraf": "^2.5.2",

0 commit comments

Comments
 (0)