Intent of validation.ts ×2
All 29 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/29 tests-
validation.mjs|title=validation tests strict mode does not fail when options are defined using array/1 test -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command async builder allows command to be defined in async builder|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command async builder allows deeply nested command to be defined in async builder|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands strict allows default command aliases, when strict mode is enabled|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands strict executes default command when strict mode is enabled|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints coerce should not add aliases to argv if strip-aliased config is true|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints coerce should not run or set new properties on argv when related argument is not passed|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints strict applies strict globally by default|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints strict can be enabled just for a command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints strict does not fail strict check due to positional command arguments in nested commands|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints strict does not fail strict check due to positional command arguments|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command global parsing hints strict does not fire command if validation fails|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command positional arguments does not combine config values and provided values|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command should allow positional arguments for inner commands in strict mode, when no handler is provided|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command variadic allows camel-case, variadic arguments, and strict mode to be combined|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/middleware.mjs|title=middleware applyBeforeValidation=true does not cause an unexpected error when async middleware and strict are both used|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests default command should display help output for nested default command on failure|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests showHelpOnFail should handle being chained both globally and on a command chained on command and globally (priority given to command message)|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests showHelpOnFail should handle being chained both globally and on a command chained on globally|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests showHelpOnFail should handle being chained both globally and on a command chained on to command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests with strict() option set should wrap whitespace in quotes if provided as an unknown argument|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests demand fails in strict mode with extra positionals for default command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests demand fails in strict mode with extra positionals|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests demand fails in strict mode with invalid command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests demand should recognize context variables in strict mode, when running sub-commands|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests demand should recognize context variables in strict mode|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests strict mode does not fail when command with subcommands called|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests strict mode does not fail when unrecognized option is passed after --|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands preserves top-level config when parse is called multiple times|occurrence=1
-