From 6f140d79d457085b2683480961ca15aac7978dc2 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Thu, 16 Feb 2023 06:56:52 -0800 Subject: [PATCH] chore: do not create dummy config file in tests (#20935) --- tests/playwright-test/playwright-test-fixtures.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/playwright-test/playwright-test-fixtures.ts b/tests/playwright-test/playwright-test-fixtures.ts index 26c7bb0a0a..507e707667 100644 --- a/tests/playwright-test/playwright-test-fixtures.ts +++ b/tests/playwright-test/playwright-test-fixtures.ts @@ -60,15 +60,6 @@ type Params = { [key: string]: string | number | boolean | string[] }; async function writeFiles(testInfo: TestInfo, files: Files, initial: boolean) { const baseDir = testInfo.outputPath(); - const hasConfig = Object.keys(files).some(name => name.includes('.config.')); - if (initial && !hasConfig) { - files = { - ...files, - 'playwright.config.ts': ` - module.exports = { projects: [ {} ] }; - `, - }; - } if (initial && !Object.keys(files).some(name => name.includes('package.json'))) { files = { ...files,