-
Notifications
You must be signed in to change notification settings - Fork 47
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
Remove app context creation intermediate branch to test 1737559059 #5719
Remove app context creation intermediate branch to test 1737559059 #5719
Conversation
web-api/src/genericHandler.test.ts
Outdated
mockApplicationContext | ||
.getPersistenceGateway() | ||
.getMaintenanceMode.mockReturnValue({ current: false }); | ||
getMaintenanceMode.mockReturnValue({ current: false }); |
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.
Very minor, but can we use mockResolvedValue
?
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.
Absolutely! Remind me to tell you a funny story about this later.
pathParameters: { | ||
docketNumber: '123-30', | ||
key: '26c6a0e5-5d11-45f0-9904-04d103ada04f', | ||
it('returns the document download URL in v1 format - when the document exists', 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.
Probably missing something obvious, but why are we no longer checking the feature flag? Same thing in three other test files.
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.
The feature flag was never used as far as I could tell. On or off did not matter.
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.
One minor comment. LGTM
Change port 5000 to 4001 as 5000 is used by Apple Airplay Receiver
…eation-intermediate-branch-to-test-1737559059
No description provided.