Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mirror-url parameter to allow downloading Node.js from a custom URL #1232

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
test case update
  • Loading branch information
aparnajyothi-y committed Feb 26, 2025
commit d61dc50c40f4e472b93b5a1ff78eca43731ec88d
2 changes: 1 addition & 1 deletion __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@
});
});

describe('getNodeVersionFromFile', () => {

Check failure on line 176 in __tests__/main.test.ts

GitHub Actions / Basic validation / build (macos-latest)

Describe block title is used multiple times in the same describe block

Check failure on line 176 in __tests__/main.test.ts

GitHub Actions / Basic validation / build (windows-latest)

Describe block title is used multiple times in the same describe block

Check failure on line 176 in __tests__/main.test.ts

GitHub Actions / Basic validation / build (ubuntu-latest)

Describe block title is used multiple times in the same describe block
each`
contents | expected
${'12'} | ${'12'}
@@ -359,7 +359,7 @@
const logSpy = jest.spyOn(console, 'log').mockImplementation(() => {}); // Mock the log function

// Act & Assert
expect(() => validateMirrorURL(inputs['mirror-url'])).toThrowError(
expect(() => validateMirrorURL(inputs['mirror-url'])).toThrow(
'Mirror URL is empty. Please provide a valid mirror URL.'
);
});
Loading
Oops, something went wrong.