UNPKG

brat-frontend-editor

Version:
18 lines (13 loc) 367 B
import HomeRoute from 'routes/Home' describe('(Route) Home', () => { let _component beforeEach(() => { _component = HomeRoute.component() }) it('Should return a route configuration object', () => { expect(typeof HomeRoute).to.equal('object') }) it('Should define a route component', () => { expect(_component.type).to.equal('div') }) })