brat-frontend-editor
Version:
"BRAT Editor standalone frontend library"
18 lines (13 loc) • 372 B
JavaScript
import CounterRoute from 'routes/Counter'
describe('(Route) Counter', () => {
let _route
beforeEach(() => {
_route = CounterRoute({})
})
it('Should return a route configuration object', () => {
expect(typeof _route).to.equal('object')
})
it('Configuration should contain path `counter`', () => {
expect(_route.path).to.equal('counter')
})
})