| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"> |
| 5 |
<title>QUnit Test Suite</title> |
| 6 |
<link rel="stylesheet" href="../qunit/qunit.css"> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
<div id="qunit"></div> |
| 10 |
<div id="qunit-fixture">test markup</div> |
| 11 |
<script src="../qunit/qunit.js"></script> |
| 12 |
<script> |
| 13 |
QUnit.config.autostart = false; |
| 14 |
|
| 15 |
// Simulate a delay in loading the tests, as when they are loaded |
| 16 |
// asynchronously using requirejs, steal, etc. |
| 17 |
setTimeout(function() { |
| 18 |
var script = document.createElement( "script" ); |
| 19 |
script.src = "async.js"; |
| 20 |
document.getElementsByTagName( "head" )[0].appendChild( script ); |
| 21 |
|
| 22 |
}, 1000); |
| 23 |
</script> |
| 24 |
<script src="swarminject.js"></script> |
| 25 |
</body> |
| 26 |
</html> |