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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-03-12 12:22:30 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-03-12 12:22:30 +0300
commit32ed0b7b8980855127d094e7fe228c80f9f1c6fe (patch)
tree2beaf72f2574396033b9a9df6c84ad14ada12f08 /karma.conf.js
parent797f102640b75bda302f1d6292348f4d5e7ab51a (diff)
Remove Babel and add ES6 polyfills for PhantomJS
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/karma.conf.js b/karma.conf.js
index a7b43325f..52fc37838 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -16,6 +16,10 @@ module.exports = function (config) {
frameworks: ['jasmine-ajax', 'jasmine', 'sinon'],
files: [
+ {pattern: 'node_modules/es6-object-assign/dist/object-assign.min.js', included: true},
+ {pattern: 'node_modules/string.prototype.startswith/startswith.js', included: true},
+ {pattern: 'node_modules/string.prototype.endswith/endswith.js', included: true},
+ {pattern: 'node_modules/string.prototype.repeat/repeat.js', included: true},
{pattern: 'node_modules/jquery/dist/jquery.js', included: true},
{pattern: 'js/tests/test-main.js', included: true},
// all files ending in "_test"