Testing Support #1381
jamesarosen
started this conversation in
Ideas
Testing Support
#1381
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd love to see some first-class testing support for client applications.
#849 has some code that suggests populating the
localstorage
cache as a way to seed the user.The getTokenSilently Cypress test spies on
POST **/oauth/token
, which suggests that using a mock-service-worker could be a good approach.I could stub out the
@auth0/auth0-spa-js
module altogether, but I'd really like to test the integration between my code and this library.There don't seem to be any recipes in the docs.
Beta Was this translation helpful? Give feedback.
All reactions