diff --git a/.travis.yml b/.travis.yml index e161d5e6..3b74edf3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,4 @@ node_js: - "0.12" - "4.0" - "4.1" -before_script: - - mkdir ~/.shout - - cp defaults/config.js ~/.shout sudo: false diff --git a/package.json b/package.json index ef1740b3..50684d23 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "scripts": { "start": "node index", - "test": "mocha test/**/*.js" + "test": "HOME=test/fixtures mocha test/**/*.js" }, "keywords": [ "browser", diff --git a/test/fixtures/.shout/config.js b/test/fixtures/.shout/config.js new file mode 100644 index 00000000..3f900589 --- /dev/null +++ b/test/fixtures/.shout/config.js @@ -0,0 +1,5 @@ +var config = require("../../../defaults/config.js"); + +config.prefetch = true; + +module.exports = config;