Skip to content

Commit 859e9bc

Browse files
committed
refactor(nx-plugin): wip
1 parent 104a059 commit 859e9bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/nx-plugin/src/executors/cli/executor.unit.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ describe('runAutorunExecutor', () => {
1818
Object.entries(process.env)
1919
.filter(([k]) => k.startsWith('CP_'))
2020
.forEach(([k]) => delete process.env[k]);
21+
});
22+
23+
beforeEach(() => {
24+
vi.unstubAllEnvs();
2125
executeProcessSpy.mockResolvedValue({
2226
code: 0,
2327
stdout: '',
@@ -27,10 +31,6 @@ describe('runAutorunExecutor', () => {
2731
});
2832
});
2933

30-
beforeEach(() => {
31-
vi.unstubAllEnvs();
32-
});
33-
3434
afterEach(() => {
3535
loggerWarnSpy.mockReset();
3636
loggerInfoSpy.mockReset();

0 commit comments

Comments
 (0)