brat-frontend-editor
Version:
"BRAT Editor standalone frontend library"
18 lines (13 loc) • 367 B
JavaScript
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')
})
})