Skip to content

Clean up staticConfig mocks#26054

Merged
ravicious merged 1 commit intomasterfrom
ravicious/static-config
May 11, 2023
Merged

Clean up staticConfig mocks#26054
ravicious merged 1 commit intomasterfrom
ravicious/static-config

Conversation

@ravicious
Copy link
Copy Markdown
Member

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.

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 enabled auto-merge May 11, 2023 09:24
@ravicious ravicious added this pull request to the merge queue May 11, 2023
Merged via the queue into master with commit ee2cbcb May 11, 2023
@ravicious ravicious deleted the ravicious/static-config branch May 11, 2023 12:03
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ravicious See the table below for backport results.

Branch Result
branch/v12 Create PR
branch/v13 Create PR

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