Ryan X. Charles
11 years ago
5 changed files with 32 additions and 5 deletions
@ -1,3 +1,5 @@ |
|||
*.swp |
|||
coverage |
|||
node_modules |
|||
browser/privsec.js |
|||
browser/tests.js |
|||
|
@ -0,0 +1,4 @@ |
|||
#!/bin/bash |
|||
|
|||
browserify index.js -o browser/privsec.js |
|||
ls test/test.* | xargs browserify -o browser/tests.js |
@ -0,0 +1,18 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<title>Mocha</title> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> |
|||
</head> |
|||
<body> |
|||
<div id="mocha"></div> |
|||
<script src="../node_modules/mocha/mocha.js"></script> |
|||
<script>mocha.setup('bdd')</script> |
|||
<script src="../browser/tests.js"></script> |
|||
<script> |
|||
mocha.run(); |
|||
</script> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue