(window.beforeEach || window.setup) is not a function

前端 未结 1 1567
别那么骄傲
别那么骄傲 2021-01-18 18:47

I\'ve tried to setup a testing environment with mocha, phantomjs and istanbul (and grunt). It works great so far, but when it comes to angular-testing i got some problems. I

相关标签:
1条回答
  • 2021-01-18 19:18

    I fixed it.

    The problem was, that i included my librarys (including angular-mocks.js) before mocha.js which apparently doesn't work.

    0 讨论(0)
提交回复
热议问题