Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Saukkonen committed Mar 18, 2019
1 parent 80c40c6 commit adb4f74
Show file tree
Hide file tree
Showing 2 changed files with 193 additions and 146 deletions.
12 changes: 6 additions & 6 deletions tests/react_16_3/react_16_3.exp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ References:
forwardRef.js:19:32
19| const badRef = React.createRef<HTMLDivElement>();
^^^^^^^^^^^^^^ [1]
<BUILTINS>/react-dom.js:289:22
289| button: {instance: HTMLButtonElement, props: {children?: React$Node, [key: string]: any}},
^^^^^^^^^^^^^^^^^ [2]
<BUILTINS>/react-dom.js:289:44
289| button: ReactDOM$HTMLElementJSXIntrinsic<HTMLButtonElement, ReactDOM$HTMLElementProps>,
^^^^^^^^^^^^^^^^^ [2]
<BUILTINS>/react.js:240:6
240| ): {|current: null | T|};
^^^^^^^^^^^^^^^^^^^^^ [3]
Expand Down Expand Up @@ -71,9 +71,9 @@ References:
forwardRef.js:23:50
23| const _g = <FancyButton foo={3} ref={(x: null | HTMLDivElement) => x} />; // Incorrect ref type
^^^^^^^^^^^^^^ [3]
<BUILTINS>/react-dom.js:289:22
289| button: {instance: HTMLButtonElement, props: {children?: React$Node, [key: string]: any}},
^^^^^^^^^^^^^^^^^ [4]
<BUILTINS>/react-dom.js:289:44
289| button: ReactDOM$HTMLElementJSXIntrinsic<HTMLButtonElement, ReactDOM$HTMLElementProps>,
^^^^^^^^^^^^^^^^^ [4]


Error ---------------------------------------------------------------------------------------------- forwardRef.js:42:12
Expand Down
Loading

0 comments on commit adb4f74

Please sign in to comment.