Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2018-03-04 00:04:11 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-10-20 15:32:09 +0300
commitcaefd7046372e954d21550bbdadcabf98b2a86f0 (patch)
tree9e1835a7d61a8302c4dcaaff5b5a023efcae96b1 /js/tests/karma.conf.js
parentbf573896472c83e2b85b52f6cbf606765b73cb3e (diff)
Add touch support in our carousel with HammerJS.
Diffstat (limited to 'js/tests/karma.conf.js')
-rw-r--r--js/tests/karma.conf.js17
1 files changed, 11 insertions, 6 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js
index 070606a521..c3c64e8850 100644
--- a/js/tests/karma.conf.js
+++ b/js/tests/karma.conf.js
@@ -12,16 +12,16 @@ const jqueryFile = process.env.USE_OLD_JQUERY ? 'https://code.jquery.com/jquery-
const bundle = process.env.BUNDLE === 'true'
const browserStack = process.env.BROWSER === 'true'
-const frameworks = [
- 'qunit',
- 'sinon'
-]
-
const plugins = [
'karma-qunit',
'karma-sinon'
]
+const frameworks = [
+ 'qunit',
+ 'sinon'
+]
+
const reporters = ['dots']
const detectBrowsers = {
@@ -46,7 +46,12 @@ const customLaunchers = {
}
}
-let files = ['node_modules/popper.js/dist/umd/popper.min.js']
+let files = [
+ 'node_modules/popper.js/dist/umd/popper.min.js',
+ 'node_modules/hammerjs/hammer.min.js',
+ 'node_modules/hammer-simulator/index.js'
+]
+
const conf = {
basePath: '../..',
port: 9876,