File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/electron-service Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ export const waitUntilWindowAvailable = async (browser: WebdriverIO.Browser) =>
340340const copyOriginalApi = async ( browser : WebdriverIO . Browser ) => {
341341 await browser . electron . execute < void , [ ExecuteOpts ] > (
342342 async ( electron ) => {
343- const { default : copy } = await import ( 'fast-copy' ) ;
343+ const { copy } = await import ( 'fast-copy' ) ;
344344 globalThis . originalApi = { } as unknown as Record < ElectronInterface , ElectronType [ ElectronInterface ] > ;
345345 for ( const api in electron ) {
346346 const apiName = api as keyof ElectronType ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const config: BundlerConfig = {
1818 packageName : 'fast-copy' ,
1919 targetFile : 'src/service.ts' ,
2020 bundleRegExp : / e x p o r t .* $ / m,
21- importName : '{ default: copy }' ,
21+ importName : '{ copy }' ,
2222 bundleReplace : ( importName ) => `const ${ importName } = { default: index };` ,
2323 } ,
2424 } ,
You can’t perform that action at this time.
0 commit comments