Skip to content

Commit e5cc27d

Browse files
committed
Merge branch 'feature/karma-electron' into develop
2 parents a5307ae + 535e332 commit e5cc27d

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"compression-webpack-plugin": "0.3.2",
116116
"concurrently": "3.1.0",
117117
"cross-env": "3.1.3",
118+
"electron": "1.4.5",
118119
"favicons-webpack-plugin": "0.0.7",
119120
"fs": "0.0.1-security",
120121
"http-server": "0.9.0",
@@ -123,6 +124,7 @@
123124
"jasmine-core": "2.5.2",
124125
"karma": "1.3.0",
125126
"karma-coverage": "1.1.1",
127+
"karma-electron": "^5.1.1",
126128
"karma-firefox-launcher": "1.0.0",
127129
"karma-jasmine": "1.0.2",
128130
"karma-mocha-reporter": "2.2.1",
@@ -131,13 +133,12 @@
131133
"karma-webpack": "1.8.0",
132134
"ncp": "^2.0.0",
133135
"rimraf": "^2.5.4",
134-
"typescript": "^2.1",
135136
"ts-node": "^1.7.0",
137+
"typescript": "^2.1",
136138
"wait-on": "2.0.1",
137-
"webpack": "2.1.0-beta.27",
138139
"wallaby-webpack": "0.0.26",
140+
"webpack": "2.1.0-beta.27",
139141
"webpack-dev-server": ">=2.1.0-beta.0 || ^2.1.0",
140-
"webpack-notifier": "1.4.1",
141-
"electron": "1.4.5"
142+
"webpack-notifier": "1.4.1"
142143
}
143144
}

test/karma.conf.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,15 @@ module.exports = function(config) {
8888
* available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
8989
*/
9090
browsers: [
91-
'Firefox',
91+
// 'Firefox',
92+
'Electron'
9293
// TODO: https://www.npmjs.com/package/karma-electron
9394
],
9495

96+
client: {
97+
useIframe: false
98+
},
99+
95100
/*
96101
* Continuous Integration mode
97102
* if true, Karma captures browsers, runs the tests and exits

0 commit comments

Comments
 (0)