fixed a bug where the spec files of node_modules were loaded by jasmine
This commit is contained in:
parent
9be63950bb
commit
9b8820219b
|
@ -17,8 +17,9 @@ var jasmine = new Jasmine();
|
||||||
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
|
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
|
||||||
|
|
||||||
jasmine.loadConfig({
|
jasmine.loadConfig({
|
||||||
|
spec_dir: 'services',
|
||||||
spec_files: [
|
spec_files: [
|
||||||
'./services/**/*[sS]pec.js'
|
'client/common/**/*[sS]pec.js'
|
||||||
],
|
],
|
||||||
helpers: [
|
helpers: [
|
||||||
'/services/utils/jasmineHelpers.js'
|
'/services/utils/jasmineHelpers.js'
|
||||||
|
|
Loading…
Reference in New Issue