1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

Fix rewrite test

This commit is contained in:
Gastón Fournier 2025-04-17 16:49:30 +02:00
parent ef481d5821
commit ee43d5cc78
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -49,7 +49,7 @@ test('rewriteHTML swaps out faviconPath if cdnPrefix is set', () => {
const result = rewriteHTML(input, '', 'https://cdn.getunleash.io/v4.1.0');
expect(
result.includes(
'<link rel="icon" href="https://cdn.getunleash.io/favicon.ico" />',
'<link rel="icon" href="https://cdn.getunleash.io/v4.1.0/favicon.ico" />',
),
).toBe(true);
});