'addons/canvas/canvas.html',
'addons/close-enough/close-enough.html',
'addons/composite/composite-demo-test.html'
- ]
+ ],
+ async: 'test/async.html'
},
lint: {
qunit: 'qunit/qunit.js',
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <title>QUnit Test Suite</title>
+ <link rel="stylesheet" href="../qunit/qunit.css">
+</head>
+<body>
+ <div id="qunit"></div>
+ <div id="qunit-fixture">test markup</div>
+ <script src="../qunit/qunit.js"></script>
+ <script>
+ QUnit.config.autostart = false;
+ setTimeout(function() {
+ // Simulate a delay in retrieving the tests, as when they are loaded
+ // asynchronously using requirejs, steal, etc.
+ var script = document.createElement( "script" );
+ script.src = "async.js";
+ document.getElementsByTagName( "head" )[0].appendChild( script );
+ }, 1000);
+ </script>
+</body>
+</html>
\ No newline at end of file