Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility (#784)

This commit is contained in:
matt korwel 2025-06-09 12:19:42 -07:00 committed by GitHub
parent 2182a1cd2c
commit 3b943c1582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1723 additions and 853 deletions

View file

@ -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