add browser testing #17
This commit is contained in:
20
test/browser/index.html
Normal file
20
test/browser/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mocha</title>
|
||||
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="mocha"></div>
|
||||
<script src="../../node_modules/proclaim/lib/proclaim.js"></script>
|
||||
<script src="../../node_modules/lodash/lodash.js"></script>
|
||||
<script src="../../node_modules/mocha/mocha.js"></script>
|
||||
<script src="../../dist/6to5.js"></script>
|
||||
<script>mocha.setup("tdd");</script>
|
||||
<script src="../../dist/6to5-test.js"></script>
|
||||
<script>
|
||||
mocha.checkLeaks();
|
||||
mocha.run();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user