Created
July 9, 2013 16:29
-
-
Save EloB/5958872 to your computer and use it in GitHub Desktop.
Look at lines 11 to 14.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Testem + QUnit</title> | |
<script type='text/javascript' src='steal/steal.js'></script> | |
<script type='text/javascript'> | |
// Load funcunit and qunit first, then the testem.js, | |
// then our qunit tests. | |
var testFiles = []; | |
testFiles.push('src\foo.js'); | |
testFiles.push('src\hello.js'); | |
testFiles.push('tests\foo_tests.js'); | |
testFiles.push('tests\hello_tests.js'); | |
steal('funcunit/qunit') | |
.then('/testem.js') | |
.then.apply(null, testFiles); | |
</script> | |
<link rel="stylesheet" type="text/css" href="funcunit/qunit/qunit.css" /> | |
</head> | |
<body> | |
<h1 id="qunit-header">Testem + Qunit Test Suite</h1> | |
<h2 id="qunit-banner"></h2> | |
<div id="qunit-testrunner-toolbar"></div> | |
<h2 id="qunit-userAgent"></h2> | |
<div id="test-content"></div> | |
<ol id="qunit-tests"></ol> | |
<div id="qunit-test-area"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment