mirror of
https://github.com/docker/metadata-action.git
synced 2026-03-20 00:30:22 +08:00
switch to ESM and update config/test wiring
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d5be006250
commit
cf6a6ce0f7
14 changed files with 122 additions and 304 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import {describe, expect, test} from 'vitest';
|
||||
|
||||
import {Flavor, Transform} from '../src/flavor';
|
||||
import {Flavor, Transform} from '../src/flavor.js';
|
||||
|
||||
describe('transform', () => {
|
||||
// prettier-ignore
|
||||
|
|
@ -175,7 +175,7 @@ describe('transform', () => {
|
|||
if (!invalid) {
|
||||
console.error(err);
|
||||
}
|
||||
// eslint-disable-next-line @vitest/no-conditional-expect
|
||||
// eslint-disable-next-line vitest/no-conditional-expect
|
||||
expect(true).toBe(invalid);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue