Run all of the browser tests at once, since parallel builds no longer benefit us at codeship and this will probably make things run even faster

This commit is contained in:
Spencer Alger
2014-01-17 16:07:35 -07:00
parent 9c1c100ee1
commit bacd515545
11 changed files with 81 additions and 39 deletions

View File

@ -27,7 +27,7 @@
<!-- tests -->
<script src="build_tests.js"></script>
<script>
mocha.run().on('end', function(){
mochaRunner = mocha.run().on('end', function(){
window.mochaResults = this.stats;
});
</script>

View File

@ -17,7 +17,7 @@
</script>
<script src="unit_tests.js"></script>
<script>
mocha.run().on('end', function(){
mochaRunner = mocha.run().on('end', function(){
window.mochaResults = this.stats;
});
</script>

6
test/utils/keys.js Normal file
View File

@ -0,0 +1,6 @@
// I know this is horrible
// I just don't want the keys searchable on github
module.exports = JSON.parse(new Buffer(
'eyJzYXVjZWxhYnNfdXNlciI6ImVsYXN0aWNzZWFyY2gtanMiLCJzYXVjZWxhYnMiOiIyNGY0OWUwNy1kODJmLTQwNjctODU0ZS1kODE1ZWJkMTVlNDYifQ==',
'base64'
).toString('utf8'));