diff --git a/packages/cli/test/services/environment.test.ts b/packages/cli/test/services/environment.test.ts index cc5a465fe..0d6bc970c 100644 --- a/packages/cli/test/services/environment.test.ts +++ b/packages/cli/test/services/environment.test.ts @@ -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 () => {