Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jsegaran committed Feb 10, 2024
1 parent 9f4d2a1 commit 11e66a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions __tests__/update-docker-tags.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ describe('action', () => {
}[tag] ?? []
);
},
async getLatestChartVersion(_: string) {

Check failure on line 41 in __tests__/update-docker-tags.test.ts

View workflow job for this annotation

GitHub Actions / TypeScript Tests

'_' is defined but never used
return '1.2.3';
},
};
const newContents = await updateDockerTags(contents, dockerRegistryClient);
expect(newContents).toMatchSnapshot();
Expand Down
1 change: 0 additions & 1 deletion src/update-helm-chart-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as yaml from 'yaml';
import { DockerRegistryClient } from './artifactRegistry';
import {
ScalarTokenWriter,
getStringAndScalarTokenFromMap,
getStringValue,
parseYAML,
getScalarTokenFromMap,
Expand Down

0 comments on commit 11e66a1

Please sign in to comment.