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:
parent
ef481d5821
commit
ee43d5cc78
@ -49,7 +49,7 @@ test('rewriteHTML swaps out faviconPath if cdnPrefix is set', () => {
|
|||||||
const result = rewriteHTML(input, '', 'https://cdn.getunleash.io/v4.1.0');
|
const result = rewriteHTML(input, '', 'https://cdn.getunleash.io/v4.1.0');
|
||||||
expect(
|
expect(
|
||||||
result.includes(
|
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);
|
).toBe(true);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user