Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/router / __tests__ / OneRouter.todo.test.ts
Size: Mime:
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!!!', () => {
      //
    })
  })
})