Skip to content

Commit

Permalink
flow: Provide missing ReactTestRenderer type
Browse files Browse the repository at this point in the history
Previously Flow did replace the undefined `ReactTestRenderer` type
with `any`. Not doing that anymore results in an error. So, just
import the correct type to fix the issue.
  • Loading branch information
borisyankov committed Sep 12, 2018
1 parent 9a9046a commit 6df9ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* @flow */
import React from 'react';
import { Provider } from 'react-redux';
import type { ReactTestRenderer } from 'react-test-renderer';
import renderer from 'react-test-renderer';

import StylesProvider from '../boot/StylesProvider';
Expand Down

0 comments on commit 6df9ca0

Please sign in to comment.