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

Commented Unassigned: Simple html test fails [227]

$
0
0

Error: Error: pushFailure() assertion outside test context, was at http://code.jquery.com/qunit/qunit-1.14.0.js:478
at http://code.jquery.com/qunit/qunit-1.14.0.js:172
at startQUnit (phantomjs://webpage.evaluate():12)
at onPageLoaded (phantomjs://webpage.evaluate():16)
at phantomjs://webpage.evaluate():18
at phantomjs://webpage.evaluate():18

HTML file:
```
<html>
<head>
<link type="text/css" rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.12.0.css"/>
<script type="text/javascript" src="http://code.jquery.com/qunit/qunit-1.14.0.js"></script>
<script type="text/javascript" src="test.js"></script>
</head>

<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
</body>

</html>
```

Test.js isn't essential, being left out causes the same error.
Comments: What does your chutzpah.json file look like?

Viewing all articles
Browse latest Browse all 1864

Trending Articles



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