Skip to content

[v12] Clean up staticConfig mocks#26060

Merged
ravicious merged 1 commit intobranch/v12from
bot/backport-26054-branch/v12
May 11, 2023
Merged

[v12] Clean up staticConfig mocks#26060
ravicious merged 1 commit intobranch/v12from
bot/backport-26054-branch/v12

Conversation

@ravicious
Copy link
Copy Markdown
Member

Backport #26054 to branch/v12

staticConfig.ts used to match on "development" and "production" only.
In tests, jest sets NODE_ENV to "test" which required us to mock
staticConfig.ts.

Since we don't need a separate config for dev and tests, we can reuse dev
config for now.
@ravicious ravicious added this pull request to the merge queue May 11, 2023
Merged via the queue into branch/v12 with commit a7a278a May 11, 2023
@ravicious ravicious deleted the bot/backport-26054-branch/v12 branch May 11, 2023 15:29
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.

3 participants