catalog-backend: update test text match for node 20
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user