javascript - Jasmine.js - Spec not running -
i have been configure jasmine/karma/require setup few days now. have karma server watching spec file. when spec file changes, can see server logging files running, never inside spec, beginning of it. here spec file:
require(['models/patient'], function(patient) { describe('patient', function () { it('cannot null', function () { var patient = new patient(); expect(patient).not.tobeundefined(); expect(3).tobe(2); }); }); });
if put debugger
before require statement, gets hit, never makes past require statement. causes make code stop there?
generally problem describing result of module "models/patient" never getting loaded requirejs. advice post require configuration , snippet of folder structure can help.
Comments
Post a Comment