Skip to content

Commit

Permalink
Changed test to contain undefined instead of value. #3
Browse files Browse the repository at this point in the history
  • Loading branch information
NicBonetto committed Oct 24, 2017
1 parent 449b98d commit bb7978c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/src/__tests__/ReactDOMComponent-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,7 @@ describe('ReactDOMComponent', () => {
expectDev(console.error.calls.count()).toBe(1);
expectDev(console.error.calls.argsFor(0)[0]).toContain(
'If you mean to conditionally pass an attribute, use a ternary ' +
'expression: `false`={condition ? value : null} instead of ' +
'expression: `false`={condition ? value : undefined} instead of ' +
'{condition && value}.',
);
});
Expand Down

0 comments on commit bb7978c

Please sign in to comment.