global failure when running qunit simple test in container

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 (10, 1)  script error, source :  0

what may be the problem?  i am using qunit 1.11

Thx!
Yan

   
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QUnit basic example</title>
<link rel="stylesheet" href="/resources/qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="/resources/qunit.js"></script>
<script>
test( "a basic test example", function() {
var value = "hello";
equal( value, "hello", "We expect value to be hello" );
});
</script>
</body>
</html>