Skip to content

Commit

Permalink
Components: Fix failing test from changed React warning message
Browse files Browse the repository at this point in the history
These messages change over time and are difficult to maintain. Test
instead simply that it throws.
  • Loading branch information
aduth committed Nov 22, 2016
1 parent 2d42b25 commit b4f03fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/track-input-changes/test/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ describe( 'TrackInputChanges#onNewValue', function() {
/>
</TrackInputChanges>,
container
) ).to.throw( 'onlyChild must be passed a children with exactly one child.' );
) ).to.throw;
} );
} );

0 comments on commit b4f03fc

Please sign in to comment.