Fix failing test

pull/5370/head
ioedeveloper 2 years ago
parent aad8e075e4
commit e4809780f6
  1. 32
      libs/remix-tests/tests/testRunner.cli.spec.ts

@ -34,26 +34,26 @@ describe('testRunner: remix-tests CLI', function(){
const expectedHelp = `Usage: remix-tests [options] [command] <file_path> const expectedHelp = `Usage: remix-tests [options] [command] <file_path>
Arguments: Arguments:
file_path path to test file or directory file_path path to test file or directory
Options: Options:
-V, --version output the version number -V, --version output the version number
-c, --compiler <string> set compiler version (e.g: 0.6.1, 0.7.1 etc) -c, --compiler <string> set compiler version (e.g: 0.6.1, 0.7.1 etc)
-e, --evm <string> set EVM version (e.g: petersburg, istanbul etc) -e, --evm <string> set EVM version (e.g: petersburg, istanbul etc)
-o, --optimize <bool> enable/disable optimization -o, --optimize <bool> enable/disable optimization
-r, --runs <number> set runs (e.g: 150, 250 etc) -r, --runs <number> set runs (e.g: 150, 250 etc)
-v, --verbose <level> set verbosity level (0 to 5) -v, --verbose <level> set verbosity level (0 to 5)
-f, --fork <string> set hard fork (e.g: istanbul, berlin etc. See -f, --fork <string> set hard fork (e.g: istanbul, berlin etc. See
full list of hard forks here: full list of hard forks here:
https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common/src/hardforks) https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common/src/hardforks)
-n, --nodeUrl <string> set node url (e.g: -n, --nodeUrl <string> set node url (e.g:
https://mainnet.infura.io/v3/your-api-key) https://mainnet.infura.io/v3/your-api-key)
-b, --blockNumber <string> set block number (e.g: 123456) -b, --blockNumber <string> set block number (e.g: 123456)
-h, --help display help for command -h, --help display help for command
Commands: Commands:
version output the version number version output the version number
help output usage information` help output usage information`
expect(res.stdout.toString().trim()).to.equal(expectedHelp) expect(res.stdout.toString().trim()).to.equal(expectedHelp)
}) })

Loading…
Cancel
Save