diff --git a/lib/modules/manager/circleci/extract.spec.ts b/lib/modules/manager/circleci/extract.spec.ts index dce12e31a8de081..a37f1acb3ff13ab 100644 --- a/lib/modules/manager/circleci/extract.spec.ts +++ b/lib/modules/manager/circleci/extract.spec.ts @@ -249,36 +249,38 @@ describe('modules/manager/circleci/extract', () => { jobs: - myorb/test_image`); - expect(res?.deps).toEqual([ - { - currentValue: '2.1.1', - datasource: 'orb', - depName: 'python', - depType: 'orb', - packageName: 'circleci/python', - versioning: 'npm', - }, - { - autoReplaceStringTemplate: - '{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}', - currentDigest: undefined, - currentValue: '3.9', - datasource: 'docker', - depName: 'cimg/python', - depType: 'docker', - replaceString: 'cimg/python:3.9', - }, - { - autoReplaceStringTemplate: - '{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}', - currentDigest: undefined, - currentValue: '3.7', - datasource: 'docker', - depName: 'cimg/python', - depType: 'docker', - replaceString: 'cimg/python:3.7', - }, - ]); + expect(res).toEqual({ + deps: [ + { + currentValue: '2.1.1', + datasource: 'orb', + depName: 'python', + depType: 'orb', + packageName: 'circleci/python', + versioning: 'npm', + }, + { + autoReplaceStringTemplate: + '{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}', + currentDigest: undefined, + currentValue: '3.9', + datasource: 'docker', + depName: 'cimg/python', + depType: 'docker', + replaceString: 'cimg/python:3.9', + }, + { + autoReplaceStringTemplate: + '{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}', + currentDigest: undefined, + currentValue: '3.7', + datasource: 'docker', + depName: 'cimg/python', + depType: 'docker', + replaceString: 'cimg/python:3.7', + }, + ], + }); }); }); });