Closed ArneHB closed 9 years ago
+1
+1
I think this can be mitigated by passing the specs directly to karma, like:
gulp.src([])
.pipe(karma({
configFile: config.karmaConfigFile,
exclude: config.karmaExcludeFiles,
files: config.karma.files, // This is globs in an array
singleRun: true
}));
gulp-karma
is deprecated (#43). Please use Karma directly to avoid this issue: https://github.com/karma-runner/gulp-karma
We're using gulp-karma package and now we're starting to get plenty of test files in our project. We've started getting the error "spawn ENAMETOOLONG" which probably can be related to limits with Windows. The error goes away if we move to project to a destination that has shorter path. I belive it's simlar problem they had here: https://github.com/dbushell/grunt-svg2png/issues/17 .
Is there a fix or work around for this issue?
Error message: