Repository URL to install this package:
|
Version:
6.1.1 ▾
|
describe('oneRouter/todo', () => {
// is observable
// test('observer triggers when we change route/.update', () => {
// expect.assertions(1)
// twoRouter.onChange(function(location, action) {
// console.log('location', location)
// expect(arguments.length).toEqual(2)
// })
// twoRouter.update('/eh')
// expect(twoRouter.pathname).toEqual('/eh')
// })
test.skip('matching routes with react-router-config', () => {
//
})
test.skip('history instantiation', () => {
//
})
test.skip('render as component', () => {
//
})
test.skip('setting the `router`', () => {
//
})
test.skip('reload', () => {
//
})
test.skip('multiple transitions checking the diff', () => {
//
})
// issues here when you ssr right
describe('cross realm (server, browser)', () => {
test('has the url from the request on the server', () => {
// expect()
})
test('has the url from the request on the browser', () => {
//
})
test('has the __SAME__ url on the browser AND the server!!!', () => {
//
})
})
})