added the browser tests
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user