fixed some doc issues, and reorganized the browser tests. Rather than running one per build, now a unit test page is run, and a build test page is run

This commit is contained in:
Spencer Alger
2014-01-15 13:09:46 -07:00
parent 37e35025a0
commit a80e6aba4f
16 changed files with 66 additions and 17071 deletions

View File

@ -11,13 +11,24 @@
<script src="mocha.js"></script>
<script>
mocha.setup('bdd');
// sauce labs & selenium inject global variables that break this
// mocha.checkLeaks();
// mocha.globals(['mochaRunner', 'elasticsearch']);
// mocha.globals(['mochaRunner', 'angular']);
</script>
<script src="browser_build.js"></script>
<!-- libs -->
<script src="jquery.js"></script>
<script src="angular.js"></script>
<!-- builds -->
<script src="elasticsearch.js"></script>
<script src="elasticsearch.angular.js"></script>
<script src="elasticsearch.jquery.js"></script>
<!-- tests -->
<script src="build_tests.js"></script>
<script>
mocha.run().on('end', function(){
window.mochaResults = runner.stats;
window.mochaResults = this.stats;
});
</script>
</body>