Skip to content

Commit 5e609df

Browse files
peterbersese
andauthored
more patience in CI tests for downloading static assets (github#26748)
* more patience in CI tests for downloading static assets * oops Co-authored-by: Robert Sese <[email protected]>
1 parent 35e1d3a commit 5e609df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/rendering/static-assets.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs'
22
import path from 'path'
33

4-
import { expect } from '@jest/globals'
4+
import { jest, expect } from '@jest/globals'
55

66
import { get } from '../helpers/e2etest.js'
77
import { checkCachingHeaders } from '../helpers/caching-headers.js'
@@ -14,6 +14,8 @@ function getNextStaticAsset(directory) {
1414
}
1515

1616
describe('static assets', () => {
17+
jest.setTimeout(60 * 1000)
18+
1719
it('should serve /assets/cb-* with optimal headers', async () => {
1820
const res = await get('/assets/cb-1234/images/site/logo.png')
1921
expect(res.statusCode).toBe(200)

0 commit comments

Comments
 (0)