aboutsummaryrefslogtreecommitdiff
path: root/challenge-228/steven-wilson/javascript/test/index.html
diff options
context:
space:
mode:
authorSteven Wilson <steven1170@zoho.eu>2023-08-01 19:50:15 +0100
committerSteven Wilson <steven1170@zoho.eu>2023-08-01 19:50:15 +0100
commit3a772f3516c8751ba951a1c6c4c4cce6c4f8ec67 (patch)
tree0dbc33ac0adf635b193e2da5b537a9089129e209 /challenge-228/steven-wilson/javascript/test/index.html
parentbc832b19dd7f9507b7c3b787959b8368c18fe7d9 (diff)
downloadperlweeklychallenge-club-3a772f3516c8751ba951a1c6c4c4cce6c4f8ec67.tar.gz
perlweeklychallenge-club-3a772f3516c8751ba951a1c6c4c4cce6c4f8ec67.tar.bz2
perlweeklychallenge-club-3a772f3516c8751ba951a1c6c4c4cce6c4f8ec67.zip
add solutions week 228 in javascript
Diffstat (limited to 'challenge-228/steven-wilson/javascript/test/index.html')
-rw-r--r--challenge-228/steven-wilson/javascript/test/index.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/challenge-228/steven-wilson/javascript/test/index.html b/challenge-228/steven-wilson/javascript/test/index.html
new file mode 100644
index 0000000000..322f2615f3
--- /dev/null
+++ b/challenge-228/steven-wilson/javascript/test/index.html
@@ -0,0 +1,27 @@
+<!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" />
+ <script src="https://unpkg.com/mocha/mocha.js"></script>
+ <script class="mocha-init">
+ mocha.setup('bdd');
+ </script>
+ <script src="https://unpkg.com/chai/chai.js"></script>
+ <script>
+ // make assert global
+ let assert = chai.assert;
+ </script>
+ </head>
+ <body>
+ <script src="../ch-01.js"></script>
+ <script src="../ch-02.js"></script>
+ <script src="tests.js"></script>
+ <div id="mocha"></div>
+ <script class="mocha-exec">
+ mocha.run();
+ </script>
+ </body>
+</html>