From 689a1aaf8f2cdc0672e69a7792dd17bafbc7e7f2 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 4 Oct 2023 16:55:19 +0200 Subject: [PATCH] catalog-backend: update test text match for node 20 Signed-off-by: Patrik Oldsberg --- .../src/modules/core/PlaceholderProcessor.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-backend/src/modules/core/PlaceholderProcessor.test.ts b/plugins/catalog-backend/src/modules/core/PlaceholderProcessor.test.ts index f5e494f514..2ce7975e41 100644 --- a/plugins/catalog-backend/src/modules/core/PlaceholderProcessor.test.ts +++ b/plugins/catalog-backend/src/modules/core/PlaceholderProcessor.test.ts @@ -372,7 +372,7 @@ describe('PlaceholderProcessor', () => { () => {}, ), ).rejects.toThrow( - /^Placeholder \$text could not form a URL out of \.\/a\/b\/catalog-info\.yaml and \.\.\/c\/catalog-info\.yaml, TypeError \[ERR_INVALID_URL\]/, + /^Placeholder \$text could not form a URL out of \.\/a\/b\/catalog-info\.yaml and \.\.\/c\/catalog-info\.yaml, TypeError/, ); expect(reader.readUrl).not.toHaveBeenCalled();