We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0c33b commit 6e4d338Copy full SHA for 6e4d338
test/components/themr.spec.js
@@ -248,14 +248,14 @@ describe('Themr decorator function', () => {
248
})
249
250
it('throws an error if an invalid composition option passed', () => {
251
- expect(() => (
+ expect(() => {
252
@themr('Container', null, { composeTheme: 'foo' })
253
class Container extends Component {
254
render() {
255
return <Passthrough {...this.props} />
256
}
257
258
- )).toThrow(/composeTheme/)
+ }).toThrow(/composeTheme/)
259
260
261
it('works properly when no theme is provided', () => {
0 commit comments