learn this, but not very clear

This commit is contained in:
2024-06-02 15:32:46 +02:00
parent e9d6b3ad15
commit 1e55406e8f
3 changed files with 55 additions and 0 deletions

21
4.4this/index.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<!-- add mocha css, to show results -->
<script>
// chai has a lot of stuff, let's make assert global
</script>
</head>
<body>
<!-- the script with tests (describe, it...) -->
<!-- <script src="t1.js"></script> -->
<script src="t2.js"></script>
<!-- the element with id="mocha" will contain test results -->
<!-- run tests! -->
</body>
</html>