File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ describe('Themr decorator function', () => {
250
250
it ( 'throws an error if an invalid composition option passed' , ( ) => {
251
251
expect ( ( ) => {
252
252
@themr ( 'Container' , null , { composeTheme : 'foo' } )
253
- class Container extends Component {
253
+ class Container extends Component { //eslint-disable-line no-unused-vars
254
254
render ( ) {
255
255
return < Passthrough { ...this . props } />
256
256
}
@@ -369,16 +369,16 @@ describe('Themr decorator function', () => {
369
369
it ( 'should copy statics from ThemedComponent' , ( ) => {
370
370
const propTypes = {
371
371
foo : PropTypes . array
372
- } ;
372
+ }
373
373
const defaultProps = {
374
374
foo : [ ]
375
- } ;
375
+ }
376
376
@themr ( 'Foo' )
377
377
class Foo extends Component {
378
378
static propTypes = propTypes ;
379
379
static defaultProps = defaultProps ;
380
380
}
381
- expect ( Foo . propTypes . foo ) . toBe ( propTypes . foo ) ;
382
- expect ( Foo . defaultProps . foo ) . toBe ( defaultProps . foo ) ;
381
+ expect ( Foo . propTypes . foo ) . toBe ( propTypes . foo )
382
+ expect ( Foo . defaultProps . foo ) . toBe ( defaultProps . foo )
383
383
} )
384
384
} )
You can’t perform that action at this time.
0 commit comments