Tuesday, 6 August 2019

Jasmine.json file not connecting correctly to helper files

I have scoured the posts on creating a jasmine.json file and can't figure out what is wrong with mine:{ "spec_dir": "spec", "spec_files": [ "*[sS]pec.js" ], "helpers": [ "helpers/**/*.js" ], "stopSpecOnExpectationFailure": false, "random": true } Jasmine is finding my spec file but not my source file. The source file is saved in helpers/src/fileName.js in the spec directory.The funny thing is I am transitioning to running my tests inside the visual studio code console but I am already familiar with running them in the browser and when I include everything required to run them in the browser it works. So I know something is wrong with my jasmine.json file.

Submitted August 06, 2019 at 01:40PM by musicalCoder9

No comments:

Post a Comment