mirror of
https://github.com/desktop/desktop
synced 2024-10-31 05:19:03 +00:00
Fix the test
This commit is contained in:
parent
670fd907d3
commit
356474a869
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue