UNPKG

1.17 kBHTMLView Raw
1<!DOCTYPE html>
2<html>
3<head>
4 <meta charset="utf-8">
5 <title>{%= title || name %} Test Suite</title>
6 <!-- Load local jQuery. This can be overridden with a ?jquery=___ param. -->
7 <script src="../libs/jquery-loader.js"></script>
8 <!-- Load local QUnit (grunt requires v1.0.0 or newer). -->
9 <link rel="stylesheet" href="../libs/qunit/qunit.css" media="screen">
10 <script src="../libs/qunit/qunit.js"></script>
11 <!-- Load local lib and tests. -->
12 <script src="../src/{%= name %}.js"></script>
13 <script src="{%= name %}_test.js"></script>
14 <!-- Removing access to jQuery and $. But it'll still be available as _$, if
15 you REALLY want to mess around with jQuery in the console. REMEMBER WE
16 ARE TESTING YOUR PLUGIN HERE -->
17 <script>window._$ = jQuery.noConflict(true);</script>
18</head>
19<body>
20 <h1 id="qunit-header">{%= title || name %} Test Suite</h1>
21 <h2 id="qunit-banner"></h2>
22 <div id="qunit-testrunner-toolbar"></div>
23 <h2 id="qunit-userAgent"></h2>
24 <ol id="qunit-tests"></ol>
25 <div id="qunit-fixture">
26 <span>lame test markup</span>
27 <span>normal test markup</span>
28 <span>awesome test markup</span>
29 </div>
30</body>
31</html>