test: fix 'should filter favicon and favicon redirects' in har.spec.ts
This commit is contained in:
parent
3739113e74
commit
913fb29353
|
|
@ -520,7 +520,7 @@ it('should filter favicon and favicon redirects', async ({server, browserName, c
|
||||||
|
|
||||||
// Browsers aggresively cache favicons, so force bust with the
|
// Browsers aggresively cache favicons, so force bust with the
|
||||||
// `d` parameter to make iterating on this test more predictable and isolated.
|
// `d` parameter to make iterating on this test more predictable and isolated.
|
||||||
const favicon = `/favicon.ico`;
|
const favicon = `/no-cache-2/favicon.ico`;
|
||||||
const hashedFaviconUrl = `/favicon-hashed.ico`;
|
const hashedFaviconUrl = `/favicon-hashed.ico`;
|
||||||
server.setRedirect(favicon, hashedFaviconUrl);
|
server.setRedirect(favicon, hashedFaviconUrl);
|
||||||
server.setRoute(hashedFaviconUrl, (req, res) => {
|
server.setRoute(hashedFaviconUrl, (req, res) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue