lib

455 root concepts · page 8 of 10

yargs-factory.ts ×1 1 test · 2476 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
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
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 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 set alias to string if option is string|occurrence=1 1 test · 2489 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
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.ts ×1 1 test · 2453 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
yargs-factory.ts ×1 1 test · 2465 LOC · 18 files · introduces 1 test · 4 LOC · 1 file
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
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
yargs-factory.ts ×1 1 test · 2464 LOC · 18 files · introduces 1 test · 5 LOC · 1 file
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 zsh getCompletion() returns default completion to callback|occurrence=1 1 test · 2457 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
output|occurrence=1 1 test · 2392 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