forked from canjs/canjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
38 lines (33 loc) · 1.15 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!doctype html>
<html>
<head>
<meta http-equiv="x-ua-compatible" content="IE=Edge"/>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/qunit/qunit-1.14.0.css" />
<style>.active {
border: solid 1px red;
}</style>
</head>
<body>
<h1 id="qunit-header">can.Component Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-test-area"></div>
<script type="text/javascript" src="../lib/steal/steal.js"></script>
<script type="text/javascript" src="//code.jquery.com/qunit/qunit-1.14.0.js"></script>
<script type="text/javascript">
if (typeof QUnit === 'undefined') {
document.write(unescape('%3Clink rel="stylesheet" type="text/css" href="../bower_components/qunit/qunit/qunit.css" /%3E'));
document.write(unescape('%3Cscript type="text/javascript" src="../bower_components/qunit/qunit/qunit.js" %3E%3C/script%3E'));
}
QUnit.config.autostart = false;
setTimeout(function(){
steal("can/component/component_test.js", function() {
can.dev.logLevel = 3;
QUnit.start();
});
},200);
</script>
</body>
</html>