File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/compass-e2e-tests/helpers Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ import {
4343import treeKill from 'tree-kill' ;
4444import { downloadPath } from './downloads' ;
4545import path from 'path' ;
46- // @ts -expect-error no types for this package
47- import { electronToChromium } from 'electron-to-chromium' ;
4846
4947const killAsync = async ( pid : number , signal ?: string ) => {
5048 return new Promise < void > ( ( resolve , reject ) => {
@@ -477,7 +475,7 @@ function execFileIgnoreError(
477475
478476async function getChromiumVersionFromBinary ( path : string ) {
479477 const { stdout } = await execFileIgnoreError ( path , [ '--versions' ] , { } ) ;
480- return electronToChromium ( JSON . parse ( stdout ) . electron ) ;
478+ return JSON . parse ( stdout ) . chrome ;
481479}
482480
483481export async function runCompassOnce ( args : string [ ] , timeout = 30_000 ) {
You can’t perform that action at this time.
0 commit comments