Skip to content

Commit d0a1c08

Browse files
committed
test(types): add flow types to tests
Required some new finagling on <ResizableBox> but it worked well
1 parent 85aa4f7 commit d0a1c08

7 files changed

Lines changed: 1241 additions & 13 deletions

File tree

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
[include]
1111

1212
[libs]
13+
flow-typed
1314

1415
[lints]
1516
all=warn

__tests__/Resizable.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @flow
12
import React from 'react';
23
import renderer from 'react-test-renderer';
34
import {shallow} from 'enzyme';

__tests__/ResizableBox.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @flow
12
import React from 'react';
23
import renderer from 'react-test-renderer';
34
import {shallow} from 'enzyme';

0 commit comments

Comments
 (0)