You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2019. It is now read-only.
Type of issue
Bug
Description
MemoryRouter
does not provideonRoute
into child contextBesides it would be nice to be able to override
onRoute
with some mock functionCurrent behavior
When using
MemoryRouter
for UnitTesting it fails with following error:TypeError: context.onRoute is not a function
Expected behavior
Should not fails on this step
Steps to reproduce
run following test snippet:
Your environment
fusion-plugin-react-router version: 1.2.0
Node.js version (
node --version
): 8.14npm version (
npm --version
): 6.4.1Operating System: OSX
The text was updated successfully, but these errors were encountered: