fix(brand): Icons mit Versions-Parameter gegen alten Browser-Cache
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7acd79225
commit
562fac05a5
2 files changed
+8
-8
No files matched your search
@@ -20,14 +20,14 @@ describe('Name und Kopfbereich', () => {
|
||||
});
|
||||
|
||||
it('Icon-Links: SVG, 32-px-PNG, Apple-Touch-Icon', () => {
|
||||
expect(indexHtml).toContain('<link rel="icon" href="/favicon.svg" type="image/svg+xml" />');
|
||||
expect(indexHtml).toContain('<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png" />');
|
||||
expect(indexHtml).toContain('<link rel="apple-touch-icon" href="/apple-touch-icon.png" />');
|
||||
expect(indexHtml).toContain('<link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml" />');
|
||||
expect(indexHtml).toContain('<link rel="icon" href="/favicon-32.png?v=2" sizes="32x32" type="image/png" />');
|
||||
expect(indexHtml).toContain('<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=2" />');
|
||||
});
|
||||
|
||||
it('Kopfzeile: dekoratives Logo (28 x 28) links vom Namen, beides im Markenlink', () => {
|
||||
expect(indexHtml).toContain(
|
||||
'<a class="brand" href="/" data-link><img src="/favicon.svg" alt="" width="28" height="28" /><span>AirCard-IOS</span></a>',
|
||||
'<a class="brand" href="/" data-link><img src="/favicon.svg?v=2" alt="" width="28" height="28" /><span>AirCard-IOS</span></a>',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user