0
mocha beforeeach TypeError: Cannot read property 'call' of undefined

Open 1 Answers 21 Views

I am trying to execute mocha tests. I am getting below error.

TypeError: Cannot read property 'call' of undefined

 

1 Answer

0
There are many possibilities for this to happen. But, since you are using it for TDD, I assume that you are facing issue with executing the test again with next set of browsers.

I would suggest you to use grunt-loop-mocha to execute tests in different browsers.
answered Jul 27 by mayur (15 points)
...