added the browser tests

This commit is contained in:
Spencer Alger
2014-01-15 03:06:56 -07:00
parent 7b967617b5
commit 4c5426c1b4
9 changed files with 44 additions and 24 deletions

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
@ -10,14 +11,14 @@
<script src="mocha.js"></script>
<script>
mocha.setup('bdd');
mocha.checkLeaks();
mocha.globals(['mochaRunner', 'angular']);
// mocha.checkLeaks();
// mocha.globals(['mochaRunner', 'angular']);
</script>
<script src="angular.js"></script>
<script src="angular_build.js"></script>
<script>
mocha.run().on('end', function(){
window.mochaResults = runner.stats;
window.mochaResults = this.stats;
});
</script>
</body>