Intent of usage.ts ×1
All 31 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/31 tests-
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands allows $0 as an alias for a default command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands allows default command to be set as alias|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands executes default command if defined positional arguments and only command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands executes default command if no positional arguments given|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command default commands executes default command if undefined positional arguments and only command|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 default commands the last default command set should take precedence|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command does not coerce number from positional with leading "+"|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 positional arguments does not load config twice when command executed|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command positional arguments does not overwrite options in argv if variadic and preserves falsy values|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command positional arguments does not overwrite options in argv if variadic and when using default command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/command.mjs|title=Command usage allows you to configure a default command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/middleware.mjs|title=middleware async $0 applies middleware before performing validation, with explicit $0|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/middleware.mjs|title=middleware synchronous $0 applies global middleware when default command is provided, with explicit $0|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests async builder positional should contain the expected output for getHelp|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests commands does not display $0 twice when default commands are enabled|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 default command should display options (with descriptions) on failed default command|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command default only should contain the expected output for getHelp when called from within handler|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command default only should contain the expected output for showHelp when called from within handler|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command default only should contain the expected output for showHelp, when exception occurs|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command multiple should contain the expected output for getHelp when called from within handler|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command multiple should contain the expected output for showHelp when called from within handler|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests usage for default command positional should contain the expected output for showHelp|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 check callback has access to options|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests check does not fail if error is not thrown in check callback, and true is returned|occurrence=1 -
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests check fails if error is thrown in check callback|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
-