Skip to content

Commit 854ab12

Browse files
committed
Restore template to main
1 parent e34cd2a commit 854ab12

File tree

2 files changed

+3
-43
lines changed

2 files changed

+3
-43
lines changed

lib/browser/templateFail.html renamed to lib/browser/template.html

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@
44
<meta charset="utf-8" />
55
<title>Mocha</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<link rel="stylesheet" href="../../mocha.css" />
7+
<link rel="stylesheet" href="mocha.css" />
88
</head>
99
<body>
1010
<div id="mocha"></div>
11-
<script src="../../mocha.js"></script>
11+
<script src="mocha.js"></script>
1212
<script>
1313
mocha.setup('bdd');
1414
</script>
15-
<script>
16-
describe('example', function () {
17-
it('should pass', function () {
18-
return;
19-
});
20-
21-
it('should fail', function () {
22-
throw new Error('fail');
23-
});
24-
});
25-
</script>
15+
<script src="tests.spec.js"></script>
2616
<script>
2717
mocha.run();
2818
</script>

lib/browser/templatePass.html

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)