diff --git a/lib/modules/manager/custom/regex/index.spec.ts b/lib/modules/manager/custom/regex/index.spec.ts index 1859c097011c87..f0a47dba3d3e79 100644 --- a/lib/modules/manager/custom/regex/index.spec.ts +++ b/lib/modules/manager/custom/regex/index.spec.ts @@ -351,7 +351,8 @@ describe('modules/manager/custom/regex/index', () => { }); it('extracts with combination strategy: sets replaceString when current version group present', async () => { - const config = { + const config: CustomExtractConfig = { + matchStringsStrategy: 'combination', matchStrings: [ 'image:\\s+(?[a-z-]+)(?::(?[a-z0-9.-]+))?(?:@(?sha256:[a-f0-9]+))?', ], @@ -377,7 +378,8 @@ describe('modules/manager/custom/regex/index', () => { }); it('extracts with combination strategy: sets replaceString when current digest group present', async () => { - const config = { + const config: CustomExtractConfig = { + matchStringsStrategy: 'combination', matchStrings: [ 'image:\\s+(?[a-z-]+)(?::(?[a-z0-9.-]+))?(?:@(?sha256:[a-f0-9]+))?', ],