From bfceb680df77642dcec08fea51868269b32e4e66 Mon Sep 17 00:00:00 2001 From: reetkr Date: Mon, 30 Aug 2021 13:21:25 +0530 Subject: [PATCH] Revert "Move setTimeout outside beforeEach" -not needed This reverts commit a6af944c3d5f0efa88e85216aa50766f348efba6. --- test/fixtures/__shared__/test-setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/__shared__/test-setup.js b/test/fixtures/__shared__/test-setup.js index 245f525057c..30d1ac644a2 100644 --- a/test/fixtures/__shared__/test-setup.js +++ b/test/fixtures/__shared__/test-setup.js @@ -16,6 +16,6 @@ afterAll(async () => { await testSetup.teardown(); }); -jest.setTimeout(1000 * 60 * 5); +beforeEach(() => jest.setTimeout(1000 * 60 * 5)); module.exports = testSetup;