File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ declare module '@xhmikosr/downloader' {
2+ export { default , DownloadOptions } from '@types/download'
3+ }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from 'node:fs/promises'
22import path from 'node:path'
33import { format } from 'node:util'
44
5- import type { DownloadOptions } from 'download '
5+ import downloadBundle , { DownloadOptions } from '@xhmikosr/downloader '
66import logger from '@wdio/logger'
77import { setGlobalDispatcher , request , ProxyAgent } from 'undici'
88import { download } from '@vscode/test-electron'
@@ -21,9 +21,6 @@ import type {
2121 Bundle
2222} from './types.js'
2323
24- // eslint-disable-next-line @typescript-eslint/no-var-requires
25- const downloadBundle : typeof import ( 'download' ) = require ( '@xhmikosr/downloader' )
26-
2724interface BundleInformation {
2825 chromedriver : string
2926 vscode : string
You can’t perform that action at this time.
0 commit comments