chore: fix driver modes to test with under_test set (#31117)

This commit is contained in:
Pavel Feldman 2024-06-01 08:33:46 -07:00 committed by GitHub
parent 8d2f4c1433
commit 54e7e254cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ export class DriverTestMode implements TestMode {
async setup() {
this._impl = await start({
NODE_OPTIONS: undefined, // Hide driver process while debugging.
PWTEST_UNDER_TEST: 1,
});
return this._impl.playwright;
}