mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-03-01 04:33:24 +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…
Reference in a new issue