File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,6 @@ import { assert, vi } from 'vitest'
12
12
import { BLOB_TOKEN } from './constants'
13
13
import { type FixtureTestContext } from './contexts'
14
14
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
-
29
15
/**
30
16
* Generates a 24char deploy ID (this is validated in the blob storage so we cant use a uuidv4)
31
17
* @returns
You can’t perform that action at this time.
0 commit comments