Introduce IFQLPage container

pull/10616/head
Andrew Watkins 2018-03-23 12:49:14 -07:00 committed by Brandon Farmer
parent b9995fa0d1
commit cf0d7661ca
2 changed files with 31 additions and 0 deletions

View File

@ -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

View File

@ -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)
})
})
})