summaryrefslogtreecommitdiff
path: root/karma.conf.js
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2017-11-13 12:12:41 +0100
committerSamuel Mannehed <samuel@cendio.se>2017-11-14 15:36:12 +0100
commit7279364c9abf7131c4cc292955e0305e5adca2b7 (patch)
treeb06c5386ec5f4f58fe48ca1fb4fd3f0e0e704a47 /karma.conf.js
parent689580381c9f96212213bd3dd65b94b5b4e36222 (diff)
downloadnovnc-7279364c9abf7131c4cc292955e0305e5adca2b7.tar.gz
Move localization.js to app
Since it is no longer used in core. Also splits localization tests into a separate file.
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/karma.conf.js b/karma.conf.js
index 1060ee5..10bf372 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -61,6 +61,7 @@ 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: 'core/**/*.js', included: false },
{ pattern: 'vendor/pako/**/*.js', included: false },
{ pattern: 'tests/test.*.js', included: false },
@@ -90,6 +91,7 @@ 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'],
'core/**/*.js': ['babel'],
'tests/test.*.js': ['babel'],
'tests/fake.*.js': ['babel'],