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 1
1
// Karma configuration
2
2
// Generated on Fri Jan 15 2016 13:36:31 GMT-0500 (EST)
3
3
'use strict' ;
4
+ const path = require ( 'path' ) ;
4
5
5
6
var testServer ;
6
7
if ( process . env . TEST_MODE === 'integration' ) {
@@ -44,10 +45,10 @@ module.exports = function(config) {
44
45
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
45
46
logLevel : config . LOG_INFO ,
46
47
// enable / disable watching file and executing tests whenever any file changes
47
- autoWatch : true ,
48
+ autoWatch : false ,
48
49
// start these browsers
49
50
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
50
- browsers : [ 'ChromeWithPrerecordedMic' , ' FirefoxAutoGUM'] ,
51
+ browsers : [ 'FirefoxAutoGUM' ] ,
51
52
// you can define custom flags
52
53
// there's a handy list of chrome flags at
53
54
customLaunchers : {
@@ -57,7 +58,7 @@ module.exports = function(config) {
57
58
flags : [
58
59
'--use-fake-device-for-media-stream' ,
59
60
'--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') ,
61
62
'--no-sandbox'
62
63
]
63
64
} ,
You can’t perform that action at this time.
0 commit comments