global failure when running qunit simple test in container
i am running a real simple qunit test, the one you see from web site.
it runs fine in browser. But when I deploy to a container such as jetty, and then visit the page, I am getting 1 success and another error:
global failure (1, 0, 1) script error, source : 0
what may be the problem? i am using qunit 1.11
Thx!
Yan
<title>QUnit basic example</title>
<link rel="stylesheet" href="/resources/qunit.css">
<div id="qunit-fixture"></div>
<script src="/resources/qunit.js"></script>
test( "a basic test example", function() {
equal( value, "hello", "We expect value to be hello" );