We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71e65f3 + a4a407c commit e532589Copy full SHA for e532589
lib/services/test-execution-service.ts
@@ -193,15 +193,20 @@ class TestExecutionService implements ITestExecutionService {
193
options: {
194
debugTransport: this.$options.debugTransport,
195
debugBrk: this.$options.debugBrk,
196
+ watch: !!this.$options.watch
197
}
198
},
199
};
200
+
201
if (this.$config.DEBUG || this.$logger.getLevel() === 'TRACE') {
202
karmaConfig.logLevel = 'DEBUG';
203
204
205
if (!this.$options.watch) {
206
+ // Setting singleRun to true will automatically start the tests when new browser (device in our case) is registered in karma.
207
karmaConfig.singleRun = true;
208
209
210
if (this.$options.debugBrk) {
211
karmaConfig.browserNoActivityTimeout = 1000000000;
212
0 commit comments