diff options
-rw-r--r-- | js/tests/karma.conf.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 3cb7f808f5..55aca1bb19 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -60,7 +60,10 @@ const conf = { }, files: [ 'node_modules/hammer-simulator/index.js', - { pattern: 'js/tests/unit/**/!(jquery).spec.js', watched: !browserStack } + { + pattern: 'js/tests/unit/**/!(jquery).spec.js', + watched: !browserStack + } ], preprocessors: { 'js/tests/unit/**/*.spec.js': ['rollup'] @@ -114,7 +117,10 @@ if (browserStack) { conf.detectBrowsers = detectBrowsers conf.files = [ 'node_modules/jquery/dist/jquery.slim.min.js', - { pattern: 'js/tests/unit/jquery.spec.js', watched: false } + { + pattern: 'js/tests/unit/jquery.spec.js', + watched: false + } ] } else { frameworks.push('detectBrowsers') |