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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -