Skip to content

Latest commit

 

History

History
77 lines (41 loc) · 1.31 KB

File metadata and controls

77 lines (41 loc) · 1.31 KB

next-router-mock

1.0.5

Patch Changes

  • 44e58b9: Pass options for push and replace down to singletonRouter

1.0.4

Patch Changes

  • 3441ec6: Fix: ensure routeParams are extracted correctly when using object navigation

1.0.3

Patch Changes

  • 0d305b8: fix: added missing parameter types to the "replace" method signature

1.0.2

Patch Changes

  • 4a75df0: Removed debugger statement.

1.0.1

Patch Changes

  • c1c9da4: chore: update package.json exports to include TypeScript types

1.0.0

Major Changes

  • 58b058c: # Next 13 App Router Support
    • Adds support for mocking next/navigation
    • Adds mockRouter.reset() for easy resetting before tests

0.9.13

Patch Changes

  • 5afd47b: Add support for parsing search parameter for URLs

0.9.12

Patch Changes

  • d2e8fff: Enable MemoryRouterProvider to use the async singleton

0.9.11

Patch Changes

  • 4603169: fix: update UrlObject type to match native url module

0.9.10

Patch Changes

  • c8270b3: Updated MemoryRouterProvider to support Next 13.5

0.9.9

Patch Changes

  • 41e335c: - Better support for the "as" parameter
    • Implemented correct behavior when "as" path is different than the real path
    • Fixes #89

0.9.8

Patch Changes

  • 105a8bc: Added automated releases and a changelog!