Skip to content

Commit 8462471

Browse files
committed
fix: cleanup APP_CONFIG before test assertion, trying to fix async race
1 parent 281ae8a commit 8462471

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app-config-cli/src/index.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ describe('create', () => {
281281

282282
expect(stdout).toMatchSnapshot();
283283

284+
delete process.env.APP_CONFIG;
285+
284286
await expect(
285287
runCLI(['create', '-q', '--environmentVariableName=MY_CONF'], {
286288
env: { APP_CONFIG: MY_CONF },

0 commit comments

Comments
 (0)