Allow overriding container image #39
Annotations
5 errors and 1 warning
tests/opts.test.ts > parseOpts with no arguments:
tests/opts.test.ts#L6
AssertionError: expected { _: [], 'cache-map': '{}', …(6) } to deeply equal { _: [], 'cache-map': '{}', …(5) }
- Expected
+ Received
Object {
"_": Array [],
"cache-map": "{}",
+ "container-image": "busybox:1",
"extract": false,
"h": false,
"help": false,
"scratch-dir": "scratch",
"skip-extraction": false,
}
❯ tests/opts.test.ts:6:18
|
tests/opts.test.ts > parseOpts with cache-map argument:
tests/opts.test.ts#L19
AssertionError: expected { _: [], …(7) } to deeply equal { _: [], …(6) }
- Expected
+ Received
Object {
"_": Array [],
"cache-map": "{\"key\": \"value\"}",
+ "container-image": "busybox:1",
"extract": false,
"h": false,
"help": false,
"scratch-dir": "scratch",
"skip-extraction": false,
}
❯ tests/opts.test.ts:19:18
|
tests/opts.test.ts > parseOpts with deprecated cache-source and cache-target arguments:
tests/opts.test.ts#L32
AssertionError: expected { _: [], …(9) } to deeply equal { _: [], …(8) }
- Expected
+ Received
Object {
"_": Array [],
"cache-map": "{\"source\":\"target\"}",
"cache-source": "source",
"cache-target": "target",
+ "container-image": "busybox:1",
"extract": false,
"h": false,
"help": false,
"scratch-dir": "scratch",
"skip-extraction": false,
}
❯ tests/opts.test.ts:32:18
|
tests/opts.test.ts > parseOpts with help argument:
tests/opts.test.ts#L47
AssertionError: expected { _: [], h: true, …(6) } to deeply equal { _: [], 'cache-map': '{}', …(5) }
- Expected
+ Received
Object {
"_": Array [],
"cache-map": "{}",
+ "container-image": "busybox:1",
"extract": false,
"h": true,
"help": true,
"scratch-dir": "scratch",
"skip-extraction": false,
}
❯ tests/opts.test.ts:47:18
|
tests
Process completed with exit code 1.
|
tests
The `cache-source` and `cache-target` options are deprecated. Use `cache-map` instead.
|