lib
455 root concepts · page 9 of 10
+usage.mjs|title=usage tests should not print usage string if help() is called without arguments|occurrence=1
1 test · 2401 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests narg accepts a hash of keys and counts|occurrence=1
1 test · 2388 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parseAsync returns promise when parse is synchronous|occurrence=1
1 test · 2381 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf should apply value from config object to all aliases|occurrence=1
1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not remove the 1st argument of bundled electron apps|occurrence=1
1 test · 2370 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests accepts an object for aliases|occurrence=1
1 test · 2421 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parsing --value as a value in -f=--value and --bar=--value should work with array|occurrence=1
1 test · 2371 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion completion() allows a custom function to be registered for completion|occurrence=1
1 test · 2442 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion completion() if a promise is returned, completions can be asynchronous|occurrence=1
1 test · 2429 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests should allow you to set default values for a hash of options|occurrence=1
1 test · 2384 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests normalize normalizes paths passed as arguments|occurrence=1, yargs.mjs|title=yargs dsl tests normalize normalizes path when when it is updated|occurrence=1
2 tests · 2365 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parse allows an optional context object to be provided|occurrence=1, yargs.mjs|title=yargs dsl tests parse overrides parsed value of argv with context object|occurrence=1
2 tests · 2361 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+usage.mjs|title=usage tests version option when exitProcess is false should not validate arguments (required argument)|occurrence=1
1 test · 2349 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests config should raise an appropriate error if JSON file is not found|occurrence=1
1 test · 2350 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion async completion does not apply validation if async completion command provided|occurrence=1
1 test · 2363 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests version option should default to 'version' as version option|occurrence=1
1 test · 2322 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests version option when exitProcess is false should not validate arguments (nargs)|occurrence=1
1 test · 2325 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests reset should put yargs back into its initial state|occurrence=1
1 test · 2336 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global does not reset alias of global option|occurrence=1
1 test · 2141 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parse ignores implicit help command (with short-circuit)|occurrence=1
1 test · 2196 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests wrap should not raise an exception when long default and description are provided|occurrence=1
1 test · 2064 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should allow defaultDescription to be set with .option()|occurrence=1
1 test · 1984 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (with command array) as 1st argument|occurrence=1, command.mjs|title=Command API accepts module (with command array and aliases array) as 1st argument|occurrence=1, +2
4 tests · 2056 LOC · 18 files · introduces 4 tests · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (with builder object and handler function) as 3rd argument|occurrence=1, command.mjs|title=Command API accepts module (with builder function and handler function) as 3rd argument|occurrence=1
2 tests · 2052 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (desc key, builder function) as 1st argument|occurrence=1, command.mjs|title=Command API accepts module (description key, builder function) as 1st argument|occurrence=1
2 tests · 2054 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+command.mjs|title=Command API accepts array, string as first 2 arguments|occurrence=1
1 test · 2032 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (missing describe, builder function) as 1st argument|occurrence=1
1 test · 2045 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command positional arguments ignores positional args for aliases|occurrence=1
1 test · 2032 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global should not reset implications of global options|occurrence=1
1 test · 1997 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests showVersion should call the correct console.log method when specified|occurrence=1
1 test · 1973 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests showVersion should show version regardless of whether argv has been called|occurrence=1
1 test · 1973 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests showVersion should call the callback to print when specified|occurrence=1
1 test · 1966 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests choices accepts an object|occurrence=1
1 test · 1947 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests showHidden should set show-hidden option|occurrence=1, yargs.mjs|title=yargs dsl tests showHidden should set custom-show-hidden option|occurrence=1
2 tests · 1918 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests hide should add the key to hiddenOptions|occurrence=1
1 test · 1908 LOC · 18 files · introduces 1 test · 0 LOC · 0 files