Skip to content

Commit

Permalink
test(react): Fix test that required React in a mock file.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorgerhardt authored and evansiroky committed Nov 1, 2016
1 parent 033cffc commit 24fb97b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions __tests__/test-utils/mocks/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Component} from 'react'
import uuid from 'uuid'

export default class MockTestComponentUniqueName extends Component {
export default class MockTestComponentUniqueName {
static defaultProps = {
test: 'hi'
}
Expand All @@ -9,3 +9,5 @@ export default class MockTestComponentUniqueName extends Component {
<div />
}
}

uuid.v4()

0 comments on commit 24fb97b

Please sign in to comment.