Skip to content

Commit f971c49

Browse files
committed
fix tests
1 parent d4a975b commit f971c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/components/ThemeProvider.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ describe('ThemeProvider', () => {
3333
<div />
3434
<div />
3535
</ThemeProvider>
36-
)).toThrow(/exactly one child/)
36+
)).toThrow(/expected to receive a single React element child/)
3737

3838
expect(() => TestUtils.renderIntoDocument(
3939
<ThemeProvider theme={theme}>
4040
</ThemeProvider>
41-
)).toThrow(/exactly one child/)
41+
)).toThrow(/expected to receive a single React element child/)
4242
} finally {
4343
ThemeProvider.propTypes = propTypes
4444
}

0 commit comments

Comments
 (0)