Commit 87222ed7 authored by 0mkar's avatar 0mkar

patch improve_tests_cmd_line

parent 71a1c134
...@@ -32,16 +32,6 @@ commander.command('help').description('output usage information').action(functio ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment