Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add frontend hook tests [SDK-2117] #188

Merged
merged 4 commits into from
Nov 4, 2020
Merged

Add frontend hook tests [SDK-2117] #188

merged 4 commits into from
Nov 4, 2020

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Nov 3, 2020

Description

This PR adds unit tests for the frontend hook useUser, and bumps the version of the peer dependency next to ^9.4.0.

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@Widcket Widcket added the review:small Small review label Nov 3, 2020
@Widcket Widcket requested a review from a team as a code owner November 3, 2020 20:38
@@ -16,7 +16,7 @@
"pretty": "prettier --write \"src/**/*.ts\" \"src/*.ts\"",
"lint": "eslint --fix --ext .ts ./src",
"build": "tsc -p tsconfig.build.json",
"test": "jest --coverage --forceExit --maxWorkers=10",
"test": "jest tests/hooks/ --coverage --maxWorkers=10",
Copy link
Contributor Author

@Widcket Widcket Nov 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path should be removed when the rest of the tests get fixed.

@adamjmcgrath adamjmcgrath merged commit 01810fc into beta Nov 4, 2020
@adamjmcgrath adamjmcgrath deleted the test/frontend-hook branch November 4, 2020 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants