mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-16 17:56:56 +00:00
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
47c365107c
commit
e99ab50e6c
20 changed files with 2552 additions and 40207 deletions
|
@ -1,3 +1,4 @@
|
|||
import {describe, expect, test} from '@jest/globals';
|
||||
import {Flavor, Transform} from '../src/flavor';
|
||||
|
||||
describe('transform', () => {
|
||||
|
@ -165,7 +166,7 @@ describe('transform', () => {
|
|||
} as Flavor,
|
||||
false
|
||||
]
|
||||
])('given %p attributes ', async (inputs: string[], expected: Flavor, invalid: boolean) => {
|
||||
])('given %p attributes', async (inputs: string[], expected: Flavor, invalid: boolean) => {
|
||||
try {
|
||||
const flavor = Transform(inputs);
|
||||
expect(flavor).toEqual(expected);
|
||||
|
@ -173,6 +174,7 @@ describe('transform', () => {
|
|||
if (!invalid) {
|
||||
console.error(err);
|
||||
}
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect(true).toBe(invalid);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue