We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e34cd2a commit 854ab12Copy full SHA for 854ab12
2 files changed
lib/browser/templateFail.html lib/browser/template.htmllib/browser/templateFail.html renamed to lib/browser/template.html
@@ -4,25 +4,15 @@
4
<meta charset="utf-8" />
5
<title>Mocha</title>
6
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <link rel="stylesheet" href="../../mocha.css" />
+ <link rel="stylesheet" href="mocha.css" />
8
</head>
9
<body>
10
<div id="mocha"></div>
11
- <script src="../../mocha.js"></script>
+ <script src="mocha.js"></script>
12
<script>
13
mocha.setup('bdd');
14
</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>
+ <script src="tests.spec.js"></script>
26
27
mocha.run();
28
lib/browser/templatePass.html
0 commit comments