-
Notifications
You must be signed in to change notification settings - Fork 30
Add more_info_url to transaction lookup response #158
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
Changes from 1 commit
e6c6c39
dcd09ed
7a63cd1
5c1cfe1
a0201a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -373,6 +373,9 @@ describe('MVP Express-mounted integration', () => { | |
| expect(response.body.interactive_url).toBe( | ||
| `https://anchor.example.com/deposit/${transactionId}`, | ||
| ); | ||
| expect(response.body.more_info_url).toBe( | ||
| `https://anchor.example.com/deposit/${transactionId}`, | ||
| ); | ||
| }); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a good test for the happy path. However, the test suite is missing coverage for the case where |
||
|
|
||
| it('8) webhook route stores event and invokes configured callback', async () => { | ||
|
|
||
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.
To improve maintainability and type safety, I suggest a small refactor here:
anyforresponseData.Record<string, unknown>is a more type-safe alternative that aligns with thesendJsonfunction's signature.