Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Sep 6, 2021
1 parent 1def28a commit 815f191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/manager/kustomize/extract.spec.ts
Expand Up @@ -247,8 +247,10 @@ describe('manager/kustomize/extract', () => {
expect(res.deps[1].currentValue).toEqual('1.19.0');
expect(res.deps[1].depName).toEqual('fluxcd/flux');
});

const postgresDigest =
'sha256:b0cfe264cb1143c7c660ddfd5c482464997d62d6bc9f97f8fdf3deefce881a8c';

it('extracts from newTag', () => {
expect(extractPackageFile(newTag)).toMatchSnapshot({
deps: [
Expand All @@ -268,6 +270,7 @@ describe('manager/kustomize/extract', () => {
],
});
});

it('extracts from digest', () => {
expect(extractPackageFile(digest)).toMatchSnapshot({
deps: [
Expand All @@ -293,6 +296,7 @@ describe('manager/kustomize/extract', () => {
],
});
});

it('extracts newName', () => {
expect(extractPackageFile(newName)).toMatchSnapshot({
deps: [
Expand Down

0 comments on commit 815f191

Please sign in to comment.