go-jwt-middleware icon indicating copy to clipboard operation
go-jwt-middleware copied to clipboard

chore: add example tests

Open grounded042 opened this issue 2 years ago • 3 comments

Description

This PR adds tests for the examples so users can follow along on how to test things.

References

This started from #154

Testing

This is just adding tests.

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

Checklist

  • [x] I have read and agreed to the terms within the Auth0 Code of Conduct.
  • [x] I have read the Auth0 General Contribution Guidelines.
  • [x] I have reviewed my own code beforehand.
  • [ ] I have added documentation for new/changed functionality in this PR.
  • [x] All active GitHub checks for tests, formatting, and security are passing.
  • [x] The correct base branch is being used, if not master.

grounded042 avatar Jun 17 '22 19:06 grounded042

cc @sergiughf

Widcket avatar Jul 15 '22 02:07 Widcket

Codecov Report

Base: 92.61% // Head: 77.66% // Decreases project coverage by -14.95% :warning:

Coverage data is based on head (cf6f758) compared to base (7914559). Patch coverage: 64.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #157       +/-   ##
===========================================
- Coverage   92.61%   77.66%   -14.96%     
===========================================
  Files           7        9        +2     
  Lines         271      385      +114     
===========================================
+ Hits          251      299       +48     
- Misses         16       73       +57     
- Partials        4       13        +9     
Impacted Files Coverage Δ
examples/http-example/main.go 36.36% <60.00%> (ø)
examples/http-jwks-example/main.go 54.05% <70.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Jul 15 '22 21:07 codecov-commenter

Sorry, I've been a little pre-occupied with other work. I'll circle back around to this soon.

grounded042 avatar Jul 15 '22 21:07 grounded042