From 3b943c1582026bdf65feb13a73259ce0e034ab2f Mon Sep 17 00:00:00 2001 From: matt korwel Date: Mon, 9 Jun 2025 12:19:42 -0700 Subject: Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility (#784) --- packages/cli/src/ui/hooks/shellCommandProcessor.test.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.test.ts') diff --git a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts index 0ec2bb60..129a5401 100644 --- a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts @@ -44,8 +44,10 @@ vi.mock('path', () => ({ vi.mock('os', () => ({ default: { tmpdir: vi.fn(() => '/tmp'), + platform: vi.fn(() => 'linux'), }, tmpdir: vi.fn(() => '/tmp'), + platform: vi.fn(() => 'linux'), })); // Configure the fs mock to use new vi.fn() instances created within the factory -- cgit v1.2.3