fix: pass all arguments #4
Annotations
5 errors
|
Test
Process completed with exit code 1.
|
|
tests/args.test.ts > parseArgs > cache-build argument parsing > should handle complex commands with multiple flags:
tests/args.test.ts#L57
AssertionError: expected 'docker' to be 'docker run -it --rm -p 8080:80 nginx' // Object.is equality
Expected: "docker run -it --rm -p 8080:80 nginx"
Received: "docker"
❯ tests/args.test.ts:57:30
|
|
tests/args.test.ts > parseArgs > cache-build argument parsing > should handle --cache-file before other arguments:
tests/args.test.ts#L40
AssertionError: expected '--cache-file' to be 'mycli somesubcommand --eh' // Object.is equality
Expected: "mycli somesubcommand --eh"
Received: "--cache-file"
❯ tests/args.test.ts:40:30
|
|
tests/args.test.ts > parseArgs > cache-build argument parsing > should handle --cache-file with --cache-build:
tests/args.test.ts#L25
AssertionError: expected 'mycli' to be 'mycli somesubcommand --eh' // Object.is equality
Expected: "mycli somesubcommand --eh"
Received: "mycli"
❯ tests/args.test.ts:25:30
|
|
tests/args.test.ts > parseArgs > cache-build argument parsing > should pass all arguments after --cache-build as command:
tests/args.test.ts#L10
AssertionError: expected 'mycli' to be 'mycli somesubcommand --eh' // Object.is equality
Expected: "mycli somesubcommand --eh"
Received: "mycli"
❯ tests/args.test.ts:10:30
|