I have 2 source files to test:
- a.js
- b.js
They both have a function validate();
In writing bSpec.js and testing b.js's validate function, I find that a.js's validate is the one being called. Do I have a way to specify which source file is the one to be tested?
both a.js and b.js are included in the karma-config via the files block using 'js_files/**/*.js'
0 comments:
Post a Comment