fix(setup): don’t transpile transpiler sources via karma, only the specs

This commit is contained in:
Tobias Bosch 2015-02-06 13:36:52 -08:00
parent 713b670a76
commit 63d8107d1c
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ module.exports = function(config) {
// Sources and specs. // Sources and specs.
// Loaded through the es6-module-loader, in `test-main.js`. // Loaded through the es6-module-loader, in `test-main.js`.
{pattern: 'modules/**', included: false}, {pattern: 'modules/**', included: false},
{pattern: 'tools/transpiler/**', included: false}, {pattern: 'tools/transpiler/spec/**', included: false},
'node_modules/traceur/bin/traceur-runtime.js', 'node_modules/traceur/bin/traceur-runtime.js',
'traceur-runtime-patch.js', 'traceur-runtime-patch.js',
@ -33,8 +33,8 @@ module.exports = function(config) {
preprocessors: { preprocessors: {
'modules/**/*.js': ['traceur'], 'modules/**/*.js': ['traceur'],
'modules/**/*.es6': ['traceur'], 'modules/**/*.es6': ['traceur'],
'tools/transpiler/**/*.js': ['traceur'], 'tools/transpiler/spec/**/*.js': ['traceur'],
'tools/transpiler/**/*.es6': ['traceur'], 'tools/transpiler/spec/**/*.es6': ['traceur'],
}, },
traceurPreprocessor: { traceurPreprocessor: {