-
Notifications
You must be signed in to change notification settings - Fork 217
tests(lib/emails): Add tests for lib/email renderer and sender #19775
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
Conversation
52b34fb to
2bec955
Compare
a7d7f70 to
6c21f6f
Compare
libs/accounts/email-renderer/src/renderer/__snapshots__/fxa-email-renderer.spec.ts.snap
Show resolved
Hide resolved
libs/accounts/email-renderer/src/templates/passwordResetAccountRecovery/index.txt
Show resolved
Hide resolved
| @@ -1,11 +1,11 @@ | |||
| postChangeTwoStepAuthentication-title-2 = "Two-step authentication has been updated" | |||
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 find this suffixes a little suspicous... Do when know when/why they were added?
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.
It looks like it was added here, but it wasn't referenced correctly so maybe it's been broken all this time? (candidly, I haven't really gotten to learn how the l10n stuff works so I could be missing something)
dschom
left a comment
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.
These changes look great. I'm a big fan of the snapshot approach over the what we had before.
e8d2f8d to
2c407c1
Compare
Because: - Moving/re-architecting email code to libs/ meant we needed new tests This pull request: - Adds tests for libs/accounts/email-renderer and libs/accounts/email-sender Closes: FXA-12579
|
Last two force pushes after approval were for cleaning up error/rejection tests and amending commit message to follow requirements. |
Because
This pull request
Issue that this pull request solves
Closes: FXA-12579
Checklist
Put an
xin the boxes that applyScreenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.
Other information (Optional)
Any other information that is important to this pull request.