Fix the test

This commit is contained in:
joshaber 2016-05-27 15:30:02 -04:00
parent 670fd907d3
commit 356474a869

View file

@ -6,10 +6,11 @@ import * as ReactDOM from 'react-dom'
import * as TestUtils from 'react-addons-test-utils'
import App from '../src/app'
import UsersStore from '../src/users-store'
describe('App', () => {
it('renders', () => {
const app = TestUtils.renderIntoDocument(<App/>) as React.Component<any, any>
const app = TestUtils.renderIntoDocument(<App usersStore={new UsersStore()}/>) as React.Component<any, any>
const node = ReactDOM.findDOMNode(app)
expect(node).not.to.equal(null)
})