Error: 'null' is not an object (evaluating 'currentSpec.expect')
See original GitHub issueHi I’m using karma-jasmine v0.2.2. When my test files become bigger and bigger I get the following error:
PhantomJS 1.9.7 (Mac OS X) ERROR
TypeError: 'null' is not an object (evaluating 'currentSpec.expect')
at /Users/kentarowakayama/CODE/ANGULAR/fischer/node_modules/karma-jasmine/lib/jasmine.js:698
Issue Analytics
- State:
- Created 9 years ago
- Comments:9
Top Results From Across the Web
Error: 'null' is not an object (evaluating 'currentSpec.expect ...
As my test suites grew large (over 1100 specs), I started getting the following error: 'null' is not an object (evaluating 'currentSpec.expect') during...
Read more >How I Fixed: TypeError: 'null' is not an object (evaluating ...
How I Fixed: TypeError: 'null' is not an object (evaluating 'currentSpec.$injector'). I hit upon a problem in testing an Angular project this week...
Read more >How to Fix TypeError: Null is Not an Object in JavaScript
The JavaScript error TypeError: null is not an object occurs when a property is accessed or a method is called on a null...
Read more >'undefined' is not an object (evaluating 'currentSpec.queue ...
I am using karma + jasmine. Now thatI have tried one way of mocking a dependent factory I get this error: TypeError: 'undefined'...
Read more >Problem with the LoadingScreen in MAC. TypeError null is not ...
TypeError null is not an object (evaluating 'formulario.loading.text = mensaje'). I have a problem because the project in windows build and tested in ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @moogleberry this my problem too 😆
I had this too; was using
inject()
in anit()
statement without something to inject (no param)