chore: remove the legacy webServer accessor from the config (#22245)

This commit is contained in:
Pavel Feldman 2023-04-06 11:20:11 -07:00 committed by GitHub
parent 2df0f0738d
commit 9ced1e278d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,11 +55,6 @@ type ConfigInternal = {
export interface FullConfigInternal extends FullConfigPublic {
_internal: ConfigInternal;
/**
* If populated, this should also be the first/only entry in _webServers. Legacy singleton `webServer` as well as those provided via an array in the user-facing playwright.config.{ts,js} will be in `_webServers`. The legacy field (`webServer`) field additionally stores the backwards-compatible singleton `webServer` since it had been showing up in globalSetup to the user.
*/
webServer: FullConfigPublic['webServer'];
// Overrides the public field.
projects: FullProjectInternal[];
}