lib
455 root concepts · page 8 of 10
+yargs.mjs|title=yargs dsl tests function passed as second argument to parse does not call callback if subsequently called without callback|occurrence=1
1 test · 2623 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests function passed as second argument to parse reinstates original exitProcess setting after invocation|occurrence=1
1 test · 2619 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests config should not raise an exception if config file is set as default argument value|occurrence=1
1 test · 2490 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests command does not recommend a similar command if no similar command exists|occurrence=1
1 test · 2567 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demand fails when a required argument is missing|occurrence=1
1 test · 2487 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demand custom failure message should be printed for both min and max constraints|occurrence=1
1 test · 2460 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should allow array and requires arg to be used in conjunction|occurrence=1
1 test · 2506 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+middleware.mjs|title=middleware async check failure allows failed check to be caught|occurrence=1
1 test · 2498 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demand fails when required arguments are present, but a command is missing|occurrence=1
1 test · 2471 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demand fails because of undefined command and not because of argument after --|occurrence=1
1 test · 2474 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests implies fails if '_' populated, and implied argument not set|occurrence=1
1 test · 2468 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demandCommand allows a custom min message to be provided|occurrence=1
1 test · 2445 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests config can be disabled with option shorthand|occurrence=1
1 test · 2450 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not pollute the prototype does not pollute, when options are set|occurrence=1
1 test · 2470 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should set alias to string if option is string|occurrence=1
1 test · 2489 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests skipValidation does not skip validation if no option with skipValidation is present|occurrence=1
1 test · 2462 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demand fails without a message if msg is null|occurrence=1
1 test · 2450 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests number should expose an options short-hand for numbers|occurrence=1
1 test · 2484 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion parser-configuration should support strip-dashed|occurrence=1, completion.mjs|title=Completion parser-configuration should support camel-case-expansion strip-aliased|occurrence=1
2 tests · 2500 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+usage.mjs|title=usage tests with strict() option set with hyphens in options fails when an invalid argument is provided|occurrence=1
1 test · 2460 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests when exitProcess is false fail() is called with the original error message as the first parameter|occurrence=1, usage.mjs|title=usage tests when exitProcess is false fail() when check() throws error fail() is called with the original error object as the second parameter|occurrence=1
2 tests · 2464 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests normalize allows key to be specified with option shorthand|occurrence=1
1 test · 2444 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not require config object for an option|occurrence=1
1 test · 2441 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demandOption allows an array of options to be demanded|occurrence=1
1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests implies fails if --no-foo's implied argument is not set|occurrence=1, validation.mjs|title=validation tests implies fails if implied key (with "no" in the name) is given when it should not|occurrence=1, +1
3 tests · 2457 LOC · 18 files · introduces 3 tests · 0 LOC · 0 files
+validation.mjs|title=validation tests choices fails with one invalid value|occurrence=1, validation.mjs|title=validation tests choices fails with case-insensitive value|occurrence=1, +3
5 tests · 2465 LOC · 18 files · introduces 5 tests · 0 LOC · 0 files
+validation.mjs|title=validation tests conflicts takes into account aliases when applying conflicts logic|occurrence=1
1 test · 2462 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demandCommand defaults to demanding 1 command|occurrence=1
1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests .coerce() supports string and function args (as option key and coerce function)|occurrence=1
1 test · 2498 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+middleware.mjs|title=middleware async check applies aliases prior to calling check|occurrence=1
1 test · 2475 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests conflicts fails if argument is supplied along with either conflicting argument|occurrence=1
1 test · 2423 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests locale does not enter infinite loop when locale is invalid|occurrence=1
1 test · 2486 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+middleware.mjs|title=middleware async coerce coerce is applied to argument and aliases|occurrence=1
1 test · 2484 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests cjk should calculate width of cjk text correctly|occurrence=1
1 test · 2480 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests .coerce() allows an error to be handled by fail() handler|occurrence=1
1 test · 2425 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion async getCompletion allows completions to be awaited|occurrence=1
1 test · 2458 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion bash getCompletion() returns default completion to callback|occurrence=1
1 test · 2455 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion completion() passes current arg for completion and the parsed arguments thus far to custom function|occurrence=1
1 test · 2455 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion zsh getCompletion() returns default completion to callback|occurrence=1
1 test · 2457 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests demandCommand treats positionals in "--" towards count requirement|occurrence=1
1 test · 2420 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parseAsync returns promise when parse is asynchronous|occurrence=1
1 test · 2418 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests config extends allows a module to be extended, rather than a JSON file|occurrence=1
1 test · 2431 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf should apply default configurations from extended packages|occurrence=1, yargs.mjs|title=yargs dsl tests pkgConf should apply extended configurations from cwd when no path is given|occurrence=1
2 tests · 2426 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests config allows a parsing function to be provided as a second argument|occurrence=1
1 test · 2398 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests exitProcess when exitProcess is set to false and a failure occurs should throw an exception|occurrence=1, yargs.mjs|title=yargs dsl tests exitProcess when exitProcess is set to false and a failure occurs should output the errors to stderr once|occurrence=1
2 tests · 2364 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files