Skip to content
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

Conversation

zachrog
Copy link
Contributor

@zachrog zachrog commented Jan 22, 2025

No description provided.

mockApplicationContext
.getPersistenceGateway()
.getMaintenanceMode.mockReturnValue({ current: false });
getMaintenanceMode.mockReturnValue({ current: false });
Copy link
Contributor

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?

Copy link
Contributor Author

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 () => {
Copy link
Contributor

@Mwindo Mwindo Jan 23, 2025

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@akuny akuny left a 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

web-api/src/gateways/worker/workerLocal.ts Outdated Show resolved Hide resolved
@zachrog zachrog merged commit 291d7be into ustaxcourt:test Jan 24, 2025
44 checks passed
@zachrog zachrog deleted the remove-app-context-creation-intermediate-branch-to-test-1737559059 branch January 24, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants