renamed homework
This commit is contained in:
1 parent
4c57e476b1
commit
924444788e
4 files changed
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<!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');-->
|
||||
<!-- mocha.checkLeaks();-->
|
||||
<!--</script>-->
|
||||
|
||||
<script type="module">
|
||||
import mocha from "https://esm.sh/mocha@10.2.0"
|
||||
import {assert} from "https://esm.sh/chai@4.3.10"
|
||||
mocha.setup('bdd');
|
||||
|
||||
it('should add to numbers from an es module', () => {
|
||||
assert.equal(1 + 1, 2);
|
||||
});
|
||||
mocha.run();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user