From 20546dea3a2fc62f21bd3adb2c4f5718425f9ba9 Mon Sep 17 00:00:00 2001 From: Enzo Vezzaro Date: Fri, 3 Jun 2022 06:33:09 -0400 Subject: [PATCH] clear testing-library/no-unnecessary-act console.error eslint --- src/components/@shared/AssetList/index.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/@shared/AssetList/index.test.tsx b/src/components/@shared/AssetList/index.test.tsx index a151c0e50..352755674 100644 --- a/src/components/@shared/AssetList/index.test.tsx +++ b/src/components/@shared/AssetList/index.test.tsx @@ -13,6 +13,8 @@ test('render AssetList with arc', async () => { chainIds: config.chainIds, accountId: '0x491AECC4b3d690a4D7027A385499fd04fE50b796' } + // TODO: remove eslint rule (testing-library/no-unnecessary-act) and solve act issue + // eslint-disable-next-line testing-library/no-unnecessary-act await act(async () => { render(