File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import { FsClient , HttpClient } from 'git-essentials'
2+
23import { IndexedDbFsClient } from 'src/clients/fs/IndexedDbFsClient'
3- import { makeWebHttpClient } from 'src/clients/http/WebHttpClient'
44import { makeNodeHttpClient } from 'src/clients/http/NodeHttpClient'
5+ import { makeWebHttpClient } from 'src/clients/http/WebHttpClient'
56
67const isBrowser = ( ) => typeof window !== `undefined`
78
@@ -21,7 +22,7 @@ export async function integrationContext(action: (context: IntegrationContext) =
2122 http : makeWebHttpClient ( { transformRequestUrl : corsProxyUrlTransformer } ) ,
2223 dir : `/temp_${ generateId ( 20 ) } `
2324 } : {
24- fs : ( await import ( 'fs' ) ) . promises ,
25+ fs : ( await import ( 'fs' ) ) . promises as FsClient ,
2526 http : makeNodeHttpClient ( ) ,
2627 dir : `${ ( await import ( 'os' ) ) . tmpdir ( ) } /temp_${ generateId ( 20 ) } `
2728 }
You can’t perform that action at this time.
0 commit comments