Skip to content

Commit

Permalink
Remove redundant calls to replace and restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Toledo authored Oct 3, 2023
1 parent b1ffea6 commit c13e1fb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/cli/test/services/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ describe('environment service', (): void => {

describe('process.env.BOOSTER_ENV set', (): void => {
beforeEach(() => {
process.env.BOOSTER_ENV = ''
replace(process.env, 'BOOSTER_ENV', 'testing')
})

afterEach(() => {
restore()
process.env.BOOSTER_ENV = 'testing'
})

it('set environment in param: no log message', async () => {
Expand Down

0 comments on commit c13e1fb

Please sign in to comment.