You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe('mod',function(){describe('mod1',function(){before(function(){if(!modLoaded)this.skip();// causes the error});it('should do stuff',function(){// stuff});});});
Not sure why this.skip() is causing an error...
The text was updated successfully, but these errors were encountered:
ryan-shaw
changed the title
Uncaught TypeError: Cannot read property 'toString' of undefined
this.skip causes: Cannot read property 'toString' of undefined
Oct 21, 2015
ryan-shaw
pushed a commit
to ryan-shaw/mocha
that referenced
this issue
Oct 21, 2015
Error line in mocha.js
My test cases are
Not sure why
this.skip()
is causing an error...The text was updated successfully, but these errors were encountered: