diff --git a/ui/src/ifql/containers/IFQLPage.tsx b/ui/src/ifql/containers/IFQLPage.tsx new file mode 100644 index 0000000000..55fd584b3c --- /dev/null +++ b/ui/src/ifql/containers/IFQLPage.tsx @@ -0,0 +1,9 @@ +import React, {PureComponent} from 'react' + +class IFQLPage extends PureComponent<{}, {}> { + public render() { + return
Let's all build together
+ } +} + +export default IFQLPage diff --git a/ui/test/ifql/containers/IFQLPage.test.tsx b/ui/test/ifql/containers/IFQLPage.test.tsx new file mode 100644 index 0000000000..2057868763 --- /dev/null +++ b/ui/test/ifql/containers/IFQLPage.test.tsx @@ -0,0 +1,22 @@ +import React from 'react' +import {shallow} from 'enzyme' + +import IFQLPage from 'src/ifql/containers/IFQLPage' + +const setup = () => { + const wrapper = shallow() + + return { + wrapper, + } +} + +describe('IFQL.Containers.IFQLPage', () => { + describe('rendering', () => { + it('renders the page', () => { + const {wrapper} = setup() + + expect(wrapper.exists()).toBe(true) + }) + }) +})