How do you debug Jasmine tests with Resharper?

前端 未结 4 1134
野趣味
野趣味 2020-12-23 17:47

I can\'t find a way to debug (walk through) JavaScript code when running Jasmine tests with Resharper in Visual Studio 2012. I tried running tests with browser (Chrome) but

4条回答
  •  爱一瞬间的悲伤
    2020-12-23 18:22

    I know this is an old question and this answer is slightly off topic but if you don't want to interfere with the callback Chutzpah test runner context menu could support you here. Run the tests in resharper/phantomjs (so you don't get tab explosion) and debug in Chrome (or the your preferred browser) fired off a right click:

    Chutzpah Test Runner Context Menu Extension

提交回复
热议问题