do not apply undefined overrides
This commit is contained in:
parent
9c48d728a4
commit
120ff136f8
|
|
@ -309,8 +309,8 @@ export class TestServerDispatcher implements TestServerInterface {
|
|||
_optionContextReuseMode: params.reuseContext ? 'when-possible' : undefined,
|
||||
_optionConnectOptions: params.connectWsEndpoint ? { wsEndpoint: params.connectWsEndpoint } : undefined,
|
||||
},
|
||||
updateSnapshots: params.updateSnapshots,
|
||||
workers: params.workers,
|
||||
...(params.updateSnapshots ? { updateSnapshots: params.updateSnapshots } : {}),
|
||||
...(params.workers ? { workers: params.workers } : {}),
|
||||
};
|
||||
if (params.trace === 'on')
|
||||
process.env.PW_LIVE_TRACE_STACKS = '1';
|
||||
|
|
|
|||
Loading…
Reference in a new issue