Skip to content

Conversation

@rg-najera
Copy link

As noted in my approach here - #45 this PR makes sure that the auth token keys are not removed from localStorage when they aren't received (i.e. when (i.e. before first use and before they expire)

  • [ x ] Build
  • [ ] Passes Jest

…cess token when none is returned - i.e. before its been used (devise)
@rg-najera
Copy link
Author

Hey maintainers, just noting that jest fails currently. We dont seem to have TS interface testing. Main point of contention in auth.test.ts is setAuthHeaders(Storage, headers) would need to interface with "Storage" to provide a pass for auth service › setAuthHeaders › sets the appropriate auth headers on the global axios config - Seems like some mock-data for Storage could allow this to pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant