diff --git a/lib/modules/manager/github-actions/extract.spec.ts b/lib/modules/manager/github-actions/extract.spec.ts index 9e2ad10a4fc54a..75479bef617333 100644 --- a/lib/modules/manager/github-actions/extract.spec.ts +++ b/lib/modules/manager/github-actions/extract.spec.ts @@ -308,32 +308,34 @@ describe('modules/manager/github-actions/extract', () => { "`; const res = extractPackageFile(yamlContent, 'workflow.yml'); - expect(res).toMatchObject({ deps: [ - { - replaceString: - 'actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1', - }, - { - replaceString: - "'actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561' # tag=v3.1.1", - }, - { - replaceString: - '"actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561" # tag=v2.5.1', - }, - { - replaceString: - 'actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1', - }, - { - replaceString: - "'actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561' # tag=v3.1.1", - }, - { - replaceString: - '"actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561" # tag=v2.5.1', - }, - ]); + expect(res).toMatchObject({ + deps: [ + { + replaceString: + 'actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1', + }, + { + replaceString: + "'actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561' # tag=v3.1.1", + }, + { + replaceString: + '"actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561" # tag=v2.5.1', + }, + { + replaceString: + 'actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # tag=v3.1.1', + }, + { + replaceString: + "'actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561' # tag=v3.1.1", + }, + { + replaceString: + '"actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561" # tag=v2.5.1', + }, + ], + }); }); it('extracts tags in different formats', () => {