mirror of
https://github.com/docker/metadata-action.git
synced 2025-08-16 19:29:53 +08:00
fix tests implementation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -87,7 +87,7 @@ describe('transform', () => {
|
||||
[
|
||||
[`name/foo,name=name/bar,enable=true`], undefined, true
|
||||
]
|
||||
])('given %p', async (l: string[], expected: Image[], invalid: boolean) => {
|
||||
])('given %p', async (l: string[], expected: Image[] | undefined, invalid: boolean) => {
|
||||
try {
|
||||
const images = Transform(l);
|
||||
expect(images).toEqual(expected);
|
||||
|
Reference in New Issue
Block a user