Fix verification tests types

environments/review-ts-tests-wjt3v6/deployments/488
Alex Gleason 2022-07-06 12:11:39 -05:00
rodzic 882e4b2fda
commit 354395501e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -14,7 +14,7 @@ const TestableComponent = () => (
</Switch> </Switch>
); );
const renderComponent = (store) => render( const renderComponent = (store: any) => render(
<TestableComponent />, <TestableComponent />,
{}, {},
store, store,
@ -22,7 +22,7 @@ const renderComponent = (store) => render(
); );
describe('<Verification />', () => { describe('<Verification />', () => {
let store; let store: any;
beforeEach(() => { beforeEach(() => {
store = { store = {

Wyświetl plik

@ -8,7 +8,7 @@ import { fireEvent, render, screen } from 'soapbox/jest/test-helpers';
import AgeVerification from '../age-verification'; import AgeVerification from '../age-verification';
describe('<AgeVerification />', () => { describe('<AgeVerification />', () => {
let store; let store: any;
beforeEach(() => { beforeEach(() => {
store = { store = {