fix tests

This commit is contained in:
Simon Knott 2025-02-03 16:34:52 +01:00
parent ab903419d8
commit 32e40e6b4f
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -65,7 +65,7 @@ export class APIRequest implements api.APIRequest {
}
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> {