73de2c9384
The switch is mostly mechanical, with assertions translated 1:1. The biggest non-mechanical part is rewriting Jasmine custom matchers as Chai helpers. The matchers were streamlined and simplified in the process and their messages were made more in line with messages produced by built-in Chai helpers. Fixes #409.
20 lines
405 B
HTML
20 lines
405 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>PEG.js Spec Suite</title>
|
|
<link rel="stylesheet" href="vendor/mocha/mocha.css">
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script src="vendor/mocha/mocha.js"></script>
|
|
<script>
|
|
mocha.setup('bdd');
|
|
</script>
|
|
<script src="bundle.js"></script>
|
|
<script>
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|