Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit b3de5b4

Browse files
committed
Added type to a presentational component
1 parent e4c7405 commit b3de5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Hello/containers/__test__/Counter.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as React from "react";
2-
import {shallow} from "enzyme";
2+
import {shallow, ShallowWrapper} from "enzyme";
33

44
import Counter from "../Counter";
55

66
describe("counter container", () => {
7-
let subject: any,
7+
let subject: ShallowWrapper<T, any>,
88
mockIncrement: () => {},
99
mockDecrement: () => {};
1010
beforeEach(() => {

0 commit comments

Comments
 (0)