1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Move sauce tests to /test/integration folder

This commit is contained in:
Brett Sun 2016-01-29 13:39:46 +01:00
parent c3b8b596f1
commit a51b33857e
6 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@
"build": "gulp build --production", "build": "gulp build --production",
"start": "node server.js", "start": "node server.js",
"test": "npm run sauce-test", "test": "npm run sauce-test",
"sauce-test": "mocha", "sauce-test": "mocha ./test/integration/tests/",
"tunnel": "node test/tunnel.js", "tunnel": "node ./test/integration/tunnel.js",
"vi-clean": "rm -rf gemini-report", "vi-clean": "rm -rf gemini-report",
"vi-phantom": "phantomjs --webdriver=4444", "vi-phantom": "phantomjs --webdriver=4444",
"vi-update": "gemini update", "vi-update": "gemini update",

View File

@ -5,7 +5,7 @@ const wd = require('wd');
const asserters = wd.asserters; // Commonly used asserters for async waits in the browser const asserters = wd.asserters; // Commonly used asserters for async waits in the browser
const chai = require('chai'); const chai = require('chai');
const chaiAsPromised = require('chai-as-promised'); const chaiAsPromised = require('chai-as-promised');
const config = require('./config.js'); const config = require('../config.js');
chai.use(chaiAsPromised); chai.use(chaiAsPromised);
chai.should(); chai.should();