Fix duplicate components being injected into data URI and add tests for index.js

This commit is contained in:
Keegan
2016-02-18 01:01:56 -08:00
parent d2b5e9fd4b
commit 85025f19f8
6 changed files with 377 additions and 144 deletions
+2
View File
@@ -52,6 +52,7 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
'index.js',
'src/scripts/**/*.js',
'test/spec/**/*.js'
],
@@ -62,6 +63,7 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'index.js': ['browserify'],
'src/scripts/**/*.js': ['browserify'],
'test/spec/**/*.js': ['browserify']
},