Merge pull request #493 from williamboman/fix/tests

Fix tests
This commit is contained in:
JocelynDelalande 2015-10-04 20:42:23 +02:00
commit 6237301522
3 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,4 @@ node_js:
- "0.12" - "0.12"
- "4.0" - "4.0"
- "4.1" - "4.1"
before_script:
- mkdir ~/.shout
- cp defaults/config.js ~/.shout
sudo: false sudo: false

View File

@ -13,7 +13,7 @@
}, },
"scripts": { "scripts": {
"start": "node index", "start": "node index",
"test": "mocha test/**/*.js" "test": "HOME=test/fixtures mocha test/**/*.js"
}, },
"keywords": [ "keywords": [
"browser", "browser",

5
test/fixtures/.shout/config.js vendored Normal file
View File

@ -0,0 +1,5 @@
var config = require("../../../defaults/config.js");
config.prefetch = true;
module.exports = config;