1 parent 7f05bed commit d095853Copy full SHA for d095853
1 file changed
test/orchestrator/initialize/initialize.test.ts
@@ -8,6 +8,17 @@ import path from 'node:path';
8
import { MockReporter } from '../mocks/reporter';
9
import { MockResource, MockResourceConfig } from '../mocks/resource';
10
11
+vi.mock('../../../src/utils/shell.js', async (importOriginal) => {
12
+ const actual = await importOriginal<typeof import('../../../src/utils/shell.js')>();
13
+ return {
14
+ ...actual,
15
+ ShellUtils: {
16
+ ...actual.ShellUtils,
17
+ validateShell: vi.fn(async () => {}),
18
+ },
19
+ }
20
+})
21
+
22
vi.mock('../mocks/get-mock-resources.js', async () => {
23
return {
24
getMockResources: () => ([
0 commit comments