fix(e2e): use one worker to reduce flakiness

This commit is contained in:
Joe Previte 2021-04-29 16:27:19 -07:00
parent 17f4c4c330
commit 7309ea9d10
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -52,6 +52,7 @@ const config: Config = {
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory. testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
timeout: 60000, // Each test is given 60 seconds. timeout: 60000, // Each test is given 60 seconds.
retries: 3, // Retry failing tests 2 times retries: 3, // Retry failing tests 2 times
workers: 1,
} }
if (process.env.CI) { if (process.env.CI) {