Skip to content

Commit

Permalink
Merge pull request thelounge#493 from williamboman/fix/tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
JocelynDelalande committed Oct 4, 2015
2 parents 044f69f + 679e27f commit 6237301
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ node_js:
- "0.12"
- "4.0"
- "4.1"
before_script:
- mkdir ~/.shout
- cp defaults/config.js ~/.shout
sudo: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"start": "node index",
"test": "mocha test/**/*.js"
"test": "HOME=test/fixtures mocha test/**/*.js"
},
"keywords": [
"browser",
Expand Down
5 changes: 5 additions & 0 deletions test/fixtures/.shout/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var config = require("../../../defaults/config.js");

config.prefetch = true;

module.exports = config;

0 comments on commit 6237301

Please sign in to comment.