fix tests
This commit is contained in:
parent
ab903419d8
commit
32e40e6b4f
|
|
@ -65,7 +65,7 @@ export class APIRequest implements api.APIRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
async newContext(options: NewContextOptions = {}): Promise<APIRequestContext> {
|
async newContext(options: NewContextOptions = {}): Promise<APIRequestContext> {
|
||||||
return this._newContext(options, this._playwright._channel);
|
return await this._newContext(options, this._playwright._channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
async _newContext(options: NewContextOptions = {}, channel: channels.PlaywrightChannel | channels.LocalUtilsChannel): Promise<APIRequestContext> {
|
async _newContext(options: NewContextOptions = {}, channel: channels.PlaywrightChannel | channels.LocalUtilsChannel): Promise<APIRequestContext> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue