Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Closed Unassigned: VS2012 QUnit undefined error [131]

$
0
0
Using VS2012, right click on the page to test and select Open in Browser, the QUnit page is brought up with no issue. When I select either Run JSTest or Show Code Coverage I get the following error:

JS Error: TypeError: 'undefined' is not an object (evaluating 'window.QUnit.config.autostart = false')
at onQUnitLoaded in phantomjs://webpage.evaluate() (line 5)
in phantomjs://webpage.evaluate() (line 155)
in phantomjs://webpage.evaluate() (line 155)

I is it possible that blanket and QUnit are not being called in the correct order?
Comments: User figured out that they were setting the reference path wrong. Once updated tests and coverage worked fine

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>