0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

karma.conf.js: break lines (#32093)

This commit is contained in:
XhmikosR 2020-11-09 20:33:20 +02:00 committed by GitHub
parent fb3a57b7ba
commit c0d1ed57a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,10 @@ const conf = {
}, },
files: [ files: [
'node_modules/hammer-simulator/index.js', '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: { preprocessors: {
'js/tests/unit/**/*.spec.js': ['rollup'] 'js/tests/unit/**/*.spec.js': ['rollup']
@ -114,7 +117,10 @@ if (browserStack) {
conf.detectBrowsers = detectBrowsers conf.detectBrowsers = detectBrowsers
conf.files = [ conf.files = [
'node_modules/jquery/dist/jquery.slim.min.js', '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 { } else {
frameworks.push('detectBrowsers') frameworks.push('detectBrowsers')