javascript - TypeError: Cannot read property 'model' of undefined -
- i trying run jasmine test cases typescript file not running...
- can tell me how fix it...
- providing code below...
- but when converted js running..
- and facing 1 more error in that...
typeerror: cannot read property 'model' of undefined
- working fiddle
http://jsfiddle.net/om4pc7s8/1/
- not working fiddle
https://jsfiddle.net/h6ck42kx/3/
describe("our data array", function() { it("has 4 items", function() { var example = new example(); expect(example.players()).tobe(0); }); });
Comments
Post a Comment