Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove clever example in testing guide (#6903)
* remove clever example in testing guide The creation of a custom navigation-specific testing harness seems a bit too purpose-built for most people. Change to an integration test that leverage JSDOM's browser globals to use BrowserRouter directly. * add dom assertion at end of example * fix for jsdom only supporting navigation via history api * add link to RR page on RTL docs * change to createMemoryHistory instead of browserrouter * emphasize memoryrouter over alternatives in tests
- Loading branch information
1 parent
9665659
commit 19835fb
Showing
1 changed file
with
96 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters