Skip to content

Commit e4afa2f

Browse files
authored
Merge pull request #6554 from Automattic/update/react-15-2
Framework: Upgrade React to 15.3.0
2 parents b109436 + 5adca0b commit e4afa2f

File tree

3 files changed

+80
-97
lines changed

3 files changed

+80
-97
lines changed

client/components/button-group/test/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ describe( 'ButtonGroup', function() {
3535
it( 'should throw an error if any of the children is not a <Button>', function() {
3636
shallow( <ButtonGroup><div id="test">test</div></ButtonGroup> );
3737

38-
sinon.assert.calledWithExactly( console.error, 'Warning: Failed propType: All children elements should be a Button.' );
38+
/* eslint-disable no-console */
39+
sinon.assert.calledWithMatch( console.error, 'All children elements should be a Button.' );
40+
/* eslint-enable no-console */
3941
} );
4042
} );

0 commit comments

Comments
 (0)