Skip to content

[v13] Clean up staticConfig mocks#26059

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

[v13] Clean up staticConfig mocks#26059
ravicious merged 1 commit intobranch/v13from
bot/backport-26054-branch/v13

Conversation

@ravicious
Copy link
Copy Markdown
Member

Backport #26054 to branch/v13

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/v13 with commit f899052 May 11, 2023
@ravicious ravicious deleted the bot/backport-26054-branch/v13 branch May 11, 2023 15:41
@r0mant r0mant mentioned this pull request Jul 14, 2023
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