aboutsummaryrefslogtreecommitdiffstats
path: root/.config/karma.es6.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/karma.es6.js')
-rw-r--r--.config/karma.es6.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/.config/karma.es6.js b/.config/karma.es6.js
new file mode 100644
index 0000000..7a7a875
--- /dev/null
+++ b/.config/karma.es6.js
@@ -0,0 +1,48 @@
+const karmaCommon = require('./karma.conf.common.js')
+
+module.exports = function (config) {
+ config.set(
+ Object.assign(karmaCommon(config), {
+ files: [
+ 'spec/RAFPlugin.js',
+ {
+ pattern: 'spec/fixtures/fixture.css',
+ included: false,
+ served: true
+ },
+ {
+ pattern: 'spec/fixtures/pixel.png',
+ included: false,
+ served: true
+ },
+ {
+ pattern: 'src/**/*.js',
+ included: false,
+ served: true,
+ type: 'modules'
+ },
+ {
+ pattern: 'spec/helpers.js',
+ included: false,
+ served: true,
+ type: 'module'
+ },
+ {
+ pattern: 'spec/setupBrowser.js',
+ included: true,
+ type: 'module'
+ },
+ {
+ pattern: 'spec/spec/types/*.js',
+ included: true,
+ type: 'module'
+ }
+ ],
+
+ reporters: ['progress'],
+ browsers: ['ChromeHeadless', 'FirefoxHeadless'],
+ singleRun: false,
+ concurrency: Infinity
+ })
+ )
+}