File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11// Karma configuration
22// Generated on Fri Jan 15 2016 13:36:31 GMT-0500 (EST)
33'use strict' ;
4+ const path = require ( 'path' ) ;
45
56var testServer ;
67if ( process . env . TEST_MODE === 'integration' ) {
@@ -44,10 +45,10 @@ module.exports = function(config) {
4445 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
4546 logLevel : config . LOG_INFO ,
4647 // enable / disable watching file and executing tests whenever any file changes
47- autoWatch : true ,
48+ autoWatch : false ,
4849 // start these browsers
4950 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
50- browsers : [ 'ChromeWithPrerecordedMic' , ' FirefoxAutoGUM'] ,
51+ browsers : [ 'FirefoxAutoGUM' ] ,
5152 // you can define custom flags
5253 // there's a handy list of chrome flags at
5354 customLaunchers : {
@@ -57,7 +58,7 @@ module.exports = function(config) {
5758 flags : [
5859 '--use-fake-device-for-media-stream' ,
5960 '--use-fake-ui-for-media-stream' ,
60- '--use-file-for-fake-audio-capture=test/resources/audio.wav' ,
61+ '--use-file-for-fake-audio-capture=' + path . join ( __dirname , ' test/resources/audio.wav') ,
6162 '--no-sandbox'
6263 ]
6364 } ,
You can’t perform that action at this time.
0 commit comments