test: fix package installation tests (#8430)
This commit is contained in:
parent
29eb6cb777
commit
8189de42cf
|
|
@ -85,7 +85,7 @@ export class RecorderApp extends EventEmitter {
|
|||
}
|
||||
|
||||
static async open(inspectedContext: BrowserContext): Promise<RecorderApp> {
|
||||
const recorderPlaywright = require('../../playwright').createPlaywright(true) as import('../../playwright').Playwright;
|
||||
const recorderPlaywright = (require('../../playwright').createPlaywright as typeof import('../../playwright').createPlaywright)('javascript', true) as import('../../playwright').Playwright;
|
||||
const args = [
|
||||
'--app=data:text/html,',
|
||||
'--window-size=600,600',
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class DriverMode {
|
|||
}
|
||||
|
||||
class ServiceMode {
|
||||
private _client: any;
|
||||
private _client: import('../../src/remote/playwrightClient').PlaywrightClient;
|
||||
private _serviceProcess: childProcess.ChildProcess;
|
||||
|
||||
async setup(workerIndex: number) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue