-
Notifications
You must be signed in to change notification settings - Fork 7
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
Refactor Apple Wallet code (#76) #91
Refactor Apple Wallet code (#76) #91
Conversation
@aahna-ashina is attempting to deploy a commit to the Nation3 Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report
@@ Coverage Diff @@
## main #91 +/- ##
==========================================
+ Coverage 80.88% 85.96% +5.08%
==========================================
Files 5 7 +2
Lines 204 228 +24
Branches 23 26 +3
==========================================
+ Hits 165 196 +31
+ Misses 38 30 -8
- Partials 1 2 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
``` json { "summary": "1 sent, 3 failed", "sent": [ ... ], "failed": [ ... ] } ```
…m/aahna-ashina/mobile-passport into dw-724/refactor-apple-wallet-code
@luisivan This PR improves calls to {
"summary": "1 sent, 3 failed",
"sent": [ ... ],
"failed": [ ... ]
} Also the code is changed from async to |
server/jest.config.js
Outdated
@@ -4,7 +4,7 @@ module.exports = { | |||
testEnvironment: 'node', | |||
coverageThreshold: { | |||
global: { | |||
lines: 80.00 | |||
lines: 79.00 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How sad 🥲
test(apple): debug template version 4 debug: add square icon debug: restore original logo and strip Revert "debug: restore original logo and strip" This reverts commit 47d4345. Revert "debug: add square icon" This reverts commit bff7d91. Revert "test(apple): debug template version 4" This reverts commit 5bff363. Revert "chore(apple): add template version 4 (nation3#76)" This reverts commit f327105.
5547aa7
to
09ab583
Compare
@luisivan @okhaimie-dev @xPi2 Need your review before merging 🙏 |
@johnmark13 Added mocking: 138492a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but maybe I'm missing enough context to give better feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is really clever 💪
@@ -4,7 +4,7 @@ module.exports = { | |||
testEnvironment: 'node', | |||
coverageThreshold: { | |||
global: { | |||
lines: 80.00 | |||
lines: 85.00 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪
Dework Task
https://app.dework.xyz/nation3/passport-services-p?taskId=ae6efa25-b222-4700-afc8-63e65b870cb9
Related GitHub Issue
#76
[passTypeIdentifier].ts
(Apple Wallet: Send Notification Requests to APNs (#78) #79 (comment))Passes.ts
into a standalone file/function (Apple Wallet: Send Notification Requests to APNs (#78) #79 (comment))Improve stability of APNs integration:
Passes.ts
, so that a JSON response is not returned until all notification requests have been confirmed by APNs.How Has This Been Tested?
Are There Admin Tasks?
Nada