Skip to content

[v6] feature proposal: Allow to inject history || Discussion: Testing alternatives #8241

Closed Answered by kentcdodds
IagoLast asked this question in Q&A
Discussion options

You must be logged in to vote

I don't recommend using the memory history. Your tests should use the same router your app uses. I answered this question in office hours last week right about here: https://youtu.be/GessP-lJoww?t=270

Hope that helps!

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@IagoLast
Comment options

@davesteinberg
Comment options

Answer selected by IagoLast
Comment options

You must be logged in to vote
2 replies
@kentcdodds
Comment options

@IagoLast
Comment options

Comment options

You must be logged in to vote
3 replies
@kentcdodds
Comment options

@mjackson
Comment options

@kentcdodds
Comment options

Comment options

You must be logged in to vote
3 replies
@jamespagedev
Comment options

@meetmakwana19
Comment options

@meetmakwana19
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants