From 8b9a005c1f86fc6b1d90a7371ef079ebdc52b00c Mon Sep 17 00:00:00 2001 From: Eric Wang Date: Fri, 22 May 2020 12:42:55 +1000 Subject: [PATCH] chore: use ts-expect-error (#24378) --- components/alert/__tests__/index.test.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/alert/__tests__/index.test.tsx b/components/alert/__tests__/index.test.tsx index 4d110109d4..96e889315e 100644 --- a/components/alert/__tests__/index.test.tsx +++ b/components/alert/__tests__/index.test.tsx @@ -60,8 +60,7 @@ describe('Alert', () => { const testIt = process.env.REACT === '15' ? it.skip : it; testIt('ErrorBoundary', () => { - // TODO: Change to @ts-expect-error once typescript is at 3.9 - // @ts-ignore + // @ts-expect-error // eslint-disable-next-line react/jsx-no-undef const ThrowError = () => ; const wrapper = mount(