patch improve_tests_cmd_line

pull/7/head
0mkar 6 years ago
parent 71a1c13491
commit 87222ed7ab
  1. 10
      remix-tests/src/run.js

@ -32,16 +32,6 @@ commander.command('help').description('output usage information').action(functio
commander.help() commander.help()
}) })
commander.action(function (filename) {
let web3 = new Web3()
// web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'))
web3.setProvider(new Provider())
// web3.setProvider(new web3.providers.WebsocketProvider('ws://localhost:8546'))
let isDirectory = fs.lstatSync(filename).isDirectory()
RemixTests.runTestFiles(filename, isDirectory, web3)
})
// get current version // get current version
commander commander
.option('-v, --verbose <level>', 'run with verbosity', mapVerbosity) .option('-v, --verbose <level>', 'run with verbosity', mapVerbosity)

Loading…
Cancel
Save