Skip to content

Instantly share code, notes, and snippets.

@vitalets
Created December 5, 2017 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitalets/130af8f0bbc22972167770749d90eb1b to your computer and use it in GitHub Desktop.
Save vitalets/130af8f0bbc22972167770749d90eb1b to your computer and use it in GitHub Desktop.
Mocha ES6 Modules
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link href="https://unpkg.com/mocha@4.0.1/mocha.css" rel="stylesheet" />
<script src="https://unpkg.com/mocha@4.0.1/mocha.js"></script>
</head>
<body>
<div id="mocha"></div>
<script type="module" src="setup.js"></script>
<script type="module" src="run.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment