From fba358da45c6dda900a64c299bb08055de535e65 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 26 Jan 2019 13:27:05 +0100 Subject: [PATCH] Update enzyme-tests.tsx --- types/enzyme/enzyme-tests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/enzyme/enzyme-tests.tsx b/types/enzyme/enzyme-tests.tsx index b92f553584..0c7e2c2e90 100644 --- a/types/enzyme/enzyme-tests.tsx +++ b/types/enzyme/enzyme-tests.tsx @@ -868,10 +868,10 @@ function ReactWrapperTest() { function test_component_type() { const wrapper1 = shallow(
); - wrapper1.find(ComponentType).props().stringProp; // $ExpectType string + wrapper1.find(ComponentType).props().stringProp; // $ExpectType string const wrapper2 = mount(
); - wrapper2.find(ComponentType).props().stringProp; // $ExpectType string + wrapper2.find(ComponentType).props().stringProp; // $ExpectType string } }