Skip to content

Commit

Permalink
change to block
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipAbed committed Jul 21, 2024
1 parent 02e47b5 commit 86d8f76
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions lib/modules/manager/helmfile/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,16 +364,17 @@ describe('modules/manager/helmfile/extract', () => {
});

it('parses a chart with an oci repository with ---', async () => {
const content =
'repositories:\n' +
' - name: oci-repo\n' +
' url: ghcr.io/example/oci-repo\n' +
' oci: true\n' +
'---\n' +
'releases:\n' +
' - name: example\n' +
' version: 0.1.0\n' +
' chart: oci-repo/example';
const content = `
repositories:
- name: oci-repo
url: ghcr.io/example/oci-repo
oci: true
---
releases:
- name: example
version: 0.1.0
chart: oci-repo/example
`;
const fileName = 'helmfile.yaml';
const result = await extractPackageFile(content, fileName, {
registryAliases: {
Expand Down

0 comments on commit 86d8f76

Please sign in to comment.