Skip to content

Commit 96da4d0

Browse files
committed
Fix codeql issue in test file
1 parent 63c93e6 commit 96da4d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/__tests__/sw.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('/sw.js route', () => {
77
})
88

99
it('returns a JavaScript service worker response', async () => {
10-
const response = await GET({} as never)
10+
const response = await GET()
1111

1212
expect(response.status).toBe(200)
1313
expect(response.headers.get('Content-Type')).toBe('application/javascript; charset=utf-8')

0 commit comments

Comments
 (0)