Commit fa4a138
committed
refactor(test): remove unused setupStandardOutputMocks calls
Remove setupStandardOutputMocks() helper calls from tests that don't need mocks.
These tests work with pure functions and pass without the mock setup helper.
The setupStandardOutputMocks() helper doesn't work with Vitest because vi.mock()
must be at top-level for proper hoisting - calling it from within a function breaks
mock initialization.1 parent e34c0cc commit fa4a138
File tree
2 files changed
+0
-6
lines changed- packages/cli/src/commands
- audit-log
- scan
2 files changed
+0
-6
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
0 commit comments