kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix verification tests types
rodzic
882e4b2fda
commit
354395501e
|
@ -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 = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Ładowanie…
Reference in New Issue