Remove silence to debug CI failure, lengthen timeout, npm bin

pull/1/head
cgewecke 8 years ago
parent b24dbc0a75
commit 6de8846abf
  1. 2
      exec.js
  2. 8
      package.json
  3. 4
      test/run.js

@ -1,3 +1,5 @@
#!/usr/bin/env node
const shell = require('shelljs');
const fs = require('fs');
const path = require('path');

@ -2,13 +2,15 @@
"name": "solcover",
"version": "0.0.1",
"description": "",
"main": "runCoveredTests.js",
"bin": {
"solcover": "./exec.js"
},
"directories": {
"test": "test"
},
"scripts": {
"test": "mocha --timeout 30000",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --timeout 30000"
"test": "mocha --timeout 60000",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --timeout 60000"
},
"author": "",
"license": "ISC",

@ -15,7 +15,7 @@ function collectGarbage() {
describe('run', () => {
let port = 8555;
let testrpcProcess = null;
let script = `node ./exec.js --dir "./mock" --port ${port} --testing --silent`; // --silent
let script = `node ./exec.js --dir "./mock" --port ${port} --testing`; // --silent
let launchTestRpc = false;
before(() => {
@ -30,7 +30,7 @@ describe('run', () => {
// exec actually works.
if (launchTestRpc) {
port = 8557;
script = `node ./exec.js --dir "./mock" --port ${port} --norpc --testing --silent`; // --silent
script = `node ./exec.js --dir "./mock" --port ${port} --norpc --testing`; // --silent
const command = `./node_modules/ethereumjs-testrpc/bin/testrpc --gasLimit 0xfffffffffff --port ${port}`;
testrpcProcess = childprocess.exec(command);
launchTestRpc = false;

Loading…
Cancel
Save