Skip to content

Commit d1075a7

Browse files
committed
chore: remove dead code
1 parent 8913569 commit d1075a7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/utils/helpers.ts

-14
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ import { assert, vi } from 'vitest'
1212
import { BLOB_TOKEN } from './constants'
1313
import { type FixtureTestContext } from './contexts'
1414

15-
/**
16-
* Uses next.js incremental cache to compute the same cache key for a URL that is automatically generated
17-
* This is needed for mocking out fetch calls to test them
18-
*/
19-
export const getFetchCacheKey = async (url: string) => {
20-
const incCache = new IncrementalCache.IncrementalCache({
21-
requestHeaders: {},
22-
getPrerenderManifest: () => ({}),
23-
} as any)
24-
25-
const key = await incCache.fetchCacheKey(url)
26-
return key
27-
}
28-
2915
/**
3016
* Generates a 24char deploy ID (this is validated in the blob storage so we cant use a uuidv4)
3117
* @returns

0 commit comments

Comments
 (0)