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 dfa60a8 commit c3b97d9Copy full SHA for c3b97d9
test/index.html
@@ -2,17 +2,20 @@
2
<head>
3
<meta charset="utf-8">
4
<title>TESTS</title>
5
- <script src="../lib/p5.js"></script>
6
- <script src="../lib/p5.sound.js"></script>
7
-
+ <script src="../lib/p5.js"></script>
+ <script src="../lib/p5.sound.js"></script>
+ <script>
8
+ window.setup = function setup() {};
9
+ new p5();
10
+ </script>
11
<script src="./testDeps/mocha.js"></script>
12
<script data-main="test.js" src="./testDeps/require.js"></script>
13
<link rel="stylesheet" href="./testDeps/mocha.css" />
14
</head>
15
<body>
16
<div id="mocha"></div>
- <script>mocha.setup('bdd')</script>
17
18
+ mocha.setup('bdd')
19
20
</body>
21
</html>
0 commit comments