fixed a bug where the spec files of node_modules were loaded by jasmine

This commit is contained in:
Carlos Jimenez 2018-01-15 12:53:48 +01:00
parent 9be63950bb
commit 9b8820219b
1 changed files with 2 additions and 1 deletions

View File

@ -17,8 +17,9 @@ var jasmine = new Jasmine();
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
jasmine.loadConfig({
spec_dir: 'services',
spec_files: [
'./services/**/*[sS]pec.js'
'client/common/**/*[sS]pec.js'
],
helpers: [
'/services/utils/jasmineHelpers.js'