Skip to content

Commit

Permalink
feat(23410): prettier fix
Browse files Browse the repository at this point in the history
Signed-off-by: ivan katliarchuk <[email protected]>
  • Loading branch information
ivankatliarchuk committed Dec 26, 2024
1 parent e9a9022 commit 339b63f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions lib/modules/versioning/aws-eks-addon/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ describe('modules/versioning/aws-eks-addon/index', () => {
});

describe('isCompatible(version)', () => {
it('should return false', () => {
expect(aws.isCompatible('v1.11.7')).toBeFalsy();
expect(aws.isCompatible('v1.11')).toBeFalsy();
expect(aws.isCompatible('v1.11.7-noneksbuild')).toBeFalsy();
expect(aws.isCompatible('v1.11.7-noneksbuild.1')).toBeFalsy();
expect(aws.isCompatible('v1.11.7-eksbuild')).toBeFalsy();
it.each`
input | expected
${''} | ${false}
${'abrakadabra'} | ${false}
${'v1.11.7'} | ${false}
${'v1.11.7.6'} | ${false}
${'v1.11.7-noneksbuild'} | ${false}
${'v1.11.7-noneksbuild.1'} | ${false}
${'v1.11.7-eksbuild'} | ${false}
`('isCompatible("$input") === $expected', ({ input, expected }) => {
const actual = aws.isCompatible(input);
expect(actual).toBe(expected);
});
});

Expand Down

0 comments on commit 339b63f

Please sign in to comment.