|
|
@ -60,7 +60,7 @@ describe('app', () => { |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
|
|
|
|
|
|
|
|
testConfig.testrpcOptions = `--account="${privateKey},${balance}" --port 8777`; |
|
|
|
testConfig.testrpcOptions = `--account="${privateKey},${balance}" --port 8777`; |
|
|
|
testConfig.dir = './mock', |
|
|
|
testConfig.dir = './mock'; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.port = 8777; |
|
|
|
testConfig.port = 8777; |
|
|
|
|
|
|
|
|
|
|
@ -79,7 +79,7 @@ describe('app', () => { |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
|
|
|
|
|
|
|
|
testConfig.testCommand = 'mocha --timeout 5000 > /dev/null 2>&1'; |
|
|
|
testConfig.testCommand = 'mocha --timeout 5000 > /dev/null 2>&1'; |
|
|
|
testConfig.dir = './mock', |
|
|
|
testConfig.dir = './mock'; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.port = 8888; |
|
|
|
testConfig.port = 8888; |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ describe('app', () => { |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
|
|
|
|
|
|
|
|
testConfig.testCommand = 'node ../test/util/mockTestCommand.js'; |
|
|
|
testConfig.testCommand = 'node ../test/util/mockTestCommand.js'; |
|
|
|
testConfig.dir = './mock', |
|
|
|
testConfig.dir = './mock'; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.port = 8888; |
|
|
|
testConfig.port = 8888; |
|
|
|
|
|
|
|
|
|
|
@ -118,7 +118,7 @@ describe('app', () => { |
|
|
|
|
|
|
|
|
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
|
|
|
|
|
|
|
|
testConfig.dir = './mock', |
|
|
|
testConfig.dir = './mock'; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.port = 8889; |
|
|
|
testConfig.port = 8889; |
|
|
|
|
|
|
|
|
|
|
@ -159,7 +159,7 @@ describe('app', () => { |
|
|
|
};`;
|
|
|
|
};`;
|
|
|
|
|
|
|
|
|
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
const testConfig = Object.assign({}, config); |
|
|
|
testConfig.dir = './mock', |
|
|
|
testConfig.dir = './mock'; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.norpc = false; |
|
|
|
testConfig.port = 8555; // Manually inspect that port is actually set to 8999
|
|
|
|
testConfig.port = 8555; // Manually inspect that port is actually set to 8999
|
|
|
|
|
|
|
|
|
|
|
|