Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db56eb2

Browse files
authored
more patience for slow favicon downloads in jest (#27611)
1 parent 07aaffc commit db56eb2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/rendering/favicons.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
import { expect } from '@jest/globals'
1+
import { expect, jest } from '@jest/globals'
22

33
import { SURROGATE_ENUMS } from '../../middleware/set-fastly-surrogate-key.js'
44
import { get } from '../helpers/e2etest.js'
55

66
describe('favicon assets', () => {
7+
jest.setTimeout(60 * 1000)
8+
79
it('should serve a valid and aggressively caching /favicon.ico', async () => {
810
const res = await get('/favicon.ico')
911
expect(res.statusCode).toBe(200)

0 commit comments

Comments
 (0)