feat!: upgrade minimum next version to 14.3.0-canary.68 & upgrade react packages, react-toastify (#6387)

**BREAKING:**
- The minimum required next version is now 14.3.0-canary.68. This is
because we are migrating away from the deprecated
experimental.serverComponentsExternalPackages next config key to
experimental.serverExternalPackages, which is not available in older
next canaries
- The minimum `react` and `react-dom` versions have been bumped to
^18.2.0 or ^19.0.0. This matches the minimum react version recommended
by next
This commit is contained in:
Alessio Gravili
2024-05-17 12:48:37 -04:00
committed by GitHub
parent 4dedd6e267
commit 9d5c0d350c
30 changed files with 1639 additions and 1579 deletions

View File

@@ -9,7 +9,7 @@ const dirname = path.dirname(filename)
dotenv.config({ path: path.resolve(dirname, 'test.env') })
export const TEST_TIMEOUT_LONG = 480000 // 8 minutes - used as timeOut for the beforeAll
export const TEST_TIMEOUT = 60000
export const TEST_TIMEOUT = 120000
export const EXPECT_TIMEOUT = 8000
export const POLL_TOPASS_TIMEOUT = EXPECT_TIMEOUT * 4 // That way expect.poll() or expect().toPass can retry 4 times. 4x higher than default expect timeout => can retry 4 times if retryable expects are used inside