Skip to content

Commit

Permalink
chore: make compilation succeed with stricter tsconfig settings
Browse files Browse the repository at this point in the history
These tsconfig settings apply in the new moved CLI project.
  • Loading branch information
rix0rrr committed Dec 11, 2024
1 parent 843c97b commit ef3ecb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/docker-images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,11 @@ test('logging in twice for two repository domains (containing account id & regio
});

mockEcr.on(DescribeRepositoriesCommand).callsFake((input) => {
const url = {
const repos: Record<string, string> = {
repo: '12345.amazonaws.com/repo',
repo2: '12346.amazonaws.com/repo2',
}[input.repositoryNames[0]];
};
const url = repos[input.repositoryNames[0]];
if (!url) {
throw new Error(`Unexpected repo: ${JSON.stringify(input)}`);
}
Expand Down

0 comments on commit ef3ecb1

Please sign in to comment.