-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
43 lines (35 loc) · 1.44 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
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>smart-component tests</title>
<link rel="apple-touch-icon" sizes="180x180" href="./resources/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./resources/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./resources/favicon-16x16.png">
<link rel="manifest" href="./resources/site.webmanifest">
<script src="/node_modules/mocha/mocha.js"></script>
<script src="/node_modules/chai/chai.js"></script>
<script src="/node_modules/@polymer/sinonjs/sinon.js"></script>
<script src="/node_modules/sinon-chai/lib/sinon-chai.js"></script>
<link rel="stylesheet" href="/node_modules/mocha/mocha.css">
</head>
<body>
<div id="mocha"></div>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Symbol%2CArray.prototype.find"></script>
<script src="./bundle.js"></script>
<script>
mocha.setup('bdd');
const expect = chai.expect;
</script>
<script src="./src/js/libs/tests/attributes.spec.js"></script>
<script src="./src/js/libs/tests/bound-properties-1.spec.js"></script>
<script src="./src/js/libs/tests/bound-properties-2.spec.js"></script>
<script src="./src/js/libs/tests/template-1.spec.js"></script>
<script src="./src/js/libs/tests/template-2.spec.js"></script>
<script>
mocha.checkLeaks();
mocha.run();
</script>
</body>
</html>