We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35e1d3a commit 5e609dfCopy full SHA for 5e609df
tests/rendering/static-assets.js
@@ -1,7 +1,7 @@
1
import fs from 'fs'
2
import path from 'path'
3
4
-import { expect } from '@jest/globals'
+import { jest, expect } from '@jest/globals'
5
6
import { get } from '../helpers/e2etest.js'
7
import { checkCachingHeaders } from '../helpers/caching-headers.js'
@@ -14,6 +14,8 @@ function getNextStaticAsset(directory) {
14
}
15
16
describe('static assets', () => {
17
+ jest.setTimeout(60 * 1000)
18
+
19
it('should serve /assets/cb-* with optimal headers', async () => {
20
const res = await get('/assets/cb-1234/images/site/logo.png')
21
expect(res.statusCode).toBe(200)
0 commit comments