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:
parent
c3b8b596f1
commit
a51b33857e
@ -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",
|
||||||
|
@ -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();
|
Loading…
Reference in New Issue
Block a user