123456789101112131415161718192021222324252627282930313233 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <title>Mocha Tests</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" />
- </head>
- <body>
- <div id="mocha"></div>
-
- <script src="https://unpkg.com/chai/chai.js"></script>
- <script src="https://unpkg.com/mocha/mocha.js"></script>
-
- <script class="mocha-init">
- mocha.setup('bdd');
- </script>
-
-
- <!-- Import the sum function -->
- <script src="../scripts/notizen.js"></script>
- <script src="../scripts/notizenAusgabe.js"></script>
-
- <!-- Import the tests for the sum function -->
- <script src="test.js" type="module"></script>
-
- <script>
- // Run the tests with Mocha
- //mocha.run();
- </script>
-
- </body>
- </html>
|