mirror of
https://github.com/actions/setup-node
synced 2025-03-31 22:30:57 +00:00
test case update
This commit is contained in:
parent
b903bc8693
commit
d61dc50c40
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ describe('main tests', () => {
|
|||
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…
Add table
Reference in a new issue