Introduce IFQLPage container
parent
b9995fa0d1
commit
cf0d7661ca
|
@ -0,0 +1,9 @@
|
|||
import React, {PureComponent} from 'react'
|
||||
|
||||
class IFQLPage extends PureComponent<{}, {}> {
|
||||
public render() {
|
||||
return <div>Let's all build together</div>
|
||||
}
|
||||
}
|
||||
|
||||
export default IFQLPage
|
|
@ -0,0 +1,22 @@
|
|||
import React from 'react'
|
||||
import {shallow} from 'enzyme'
|
||||
|
||||
import IFQLPage from 'src/ifql/containers/IFQLPage'
|
||||
|
||||
const setup = () => {
|
||||
const wrapper = shallow(<IFQLPage />)
|
||||
|
||||
return {
|
||||
wrapper,
|
||||
}
|
||||
}
|
||||
|
||||
describe('IFQL.Containers.IFQLPage', () => {
|
||||
describe('rendering', () => {
|
||||
it('renders the page', () => {
|
||||
const {wrapper} = setup()
|
||||
|
||||
expect(wrapper.exists()).toBe(true)
|
||||
})
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue