test: call setDevMode in wire tests (#3678)

This commit is contained in:
Dmitry Gozman 2020-09-02 10:19:03 -07:00 committed by GitHub
parent fc29623508
commit a58812523c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,7 @@ registerWorkerFixture('defaultBrowserOptions', async ({browserName}, test) => {
registerWorkerFixture('playwright', async ({browserName}, test) => {
const {coverage, uninstall} = installCoverageHooks(browserName);
if (options.WIRE) {
require('../lib/utils/utils').setDevMode();
const connection = new Connection();
const spawnedProcess = childProcess.fork(path.join(__dirname, '..', 'lib', 'server.js'), [], {
stdio: 'pipe',