
Untitled
By: a guest on
Jun 2nd, 2012 | syntax:
None | size: 0.55 KB | hits: 13 | expires: Never
<!DOCTYPE html>
<html>
<head>
<title>My unit tests!</title>
<link rel="stylesheet" href="resources/nodeunit.css" type="text/css" />
<script src="resources/es5-shim.js"></script>
<script src="resources/nodeunit.js"></script>
</head>
<body>
<h1 id="nodeunit-header">You win!</h1>
<script>
require([
"moduleA.test.js",
"moduleB.test.js",
...
], function () {
[].forEach.call(arguments, function (suite) {
nodeunit.run(suite);
});
});
</script>
</body>
</html>