]> git.proxmox.com Git - mirror_novnc.git/blobdiff - karma.conf.js
Update browser test list
[mirror_novnc.git] / karma.conf.js
index 1060ee5f07c771022e317dc82d7d1f7d23be4c92..5b9da9f1533ab0641fb38735330e4a93e7ec05af 100644 (file)
@@ -61,6 +61,8 @@ module.exports = function(config) {
     files: [
       { pattern: 'vendor/sinon.js', included: false },
       { pattern: 'node_modules/sinon-chai/lib/sinon-chai.js', included: false },
+      { pattern: 'app/localization.js', included: false },
+      { pattern: 'app/webutil.js', included: false },
       { pattern: 'core/**/*.js', included: false },
       { pattern: 'vendor/pako/**/*.js', included: false },
       { pattern: 'tests/test.*.js', included: false },
@@ -90,6 +92,8 @@ module.exports = function(config) {
     // preprocess matching files before serving them to the browser
     // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
     preprocessors: {
+      'app/localization.js': ['babel'],
+      'app/webutil.js': ['babel'],
       'core/**/*.js': ['babel'],
       'tests/test.*.js': ['babel'],
       'tests/fake.*.js': ['babel'],