Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(jest): halve the max workers (#3017)
Joel Einbindera75835e077cb
diff --git a/jest.config.js b/jest.config.jsnew file mode 100644index 0000000000..3b24295788--- /dev/null+++ b/jest.config.js@@ -0,0 +1,11 @@+module.exports = /** @type {import('@jest/types').Config.InitialOptions} */ ({+ // all of our tests have a browser and a node process, so the default max workers is too many.+ maxWorkers: Math.ceil(require('os').cpus().length / 2),+ rootDir: './test',+ testEnvironment: './jest',+ testMatch: ['**/?(*.)jest.[jt]s'],+ testRunner: 'jest-circus/runner',+ testTimeout: 10000,+ globalSetup: './jest/setup.js',+ globalTeardown: './jest/teardown.js'+});diff --git a/jest.config.json b/jest.config.jsondeleted file mode 100644index 355f4c1649..0000000000--- a/jest.config.json+++ /dev/null@@ -1,9 +0,0 @@-{- "rootDir": "./test",- "testEnvironment": "./jest",- "testMatch": ["**/?(*.)jest.[jt]s"],- "testRunner": "jest-circus/runner",- "testTimeout": 10000,- "globalSetup": "./jest/setup.js",- "globalTeardown": "./jest/teardown.js"-}