From 354395501e54bd67a3280202391dafe2ac9fc31d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 6 Jul 2022 12:11:39 -0500 Subject: [PATCH] Fix verification tests types --- app/soapbox/features/verification/__tests__/index.test.tsx | 4 ++-- .../verification/steps/__tests__/age-verification.test.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/soapbox/features/verification/__tests__/index.test.tsx b/app/soapbox/features/verification/__tests__/index.test.tsx index 32182f515..e24aee442 100644 --- a/app/soapbox/features/verification/__tests__/index.test.tsx +++ b/app/soapbox/features/verification/__tests__/index.test.tsx @@ -14,7 +14,7 @@ const TestableComponent = () => ( ); -const renderComponent = (store) => render( +const renderComponent = (store: any) => render( , {}, store, @@ -22,7 +22,7 @@ const renderComponent = (store) => render( ); describe('', () => { - let store; + let store: any; beforeEach(() => { store = { diff --git a/app/soapbox/features/verification/steps/__tests__/age-verification.test.tsx b/app/soapbox/features/verification/steps/__tests__/age-verification.test.tsx index 7dd835313..f310a0741 100644 --- a/app/soapbox/features/verification/steps/__tests__/age-verification.test.tsx +++ b/app/soapbox/features/verification/steps/__tests__/age-verification.test.tsx @@ -8,7 +8,7 @@ import { fireEvent, render, screen } from 'soapbox/jest/test-helpers'; import AgeVerification from '../age-verification'; describe('', () => { - let store; + let store: any; beforeEach(() => { store = {