MCPcopy Create free account
hub / github.com/BetaSu/big-react / Test

Function Test

packages/react/src/__tests__/ReactElement-test.js:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216
217 it('does not warn for NaN props', () => {
218 function Test() {
219 return <div />;
220 }
221
222 const test = ReactTestUtils.renderIntoDocument(<Test value={+undefined} />);
223 expect(test.props.value).toBeNaN();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected