mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-17 10:16:57 +00:00
fix tests implementation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d8f57c18fa
commit
5076359ba6
5 changed files with 255 additions and 50 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue