Update tests

This commit is contained in:
Nikolai Laevskii 2023-10-19 17:12:39 +02:00
parent ac16ae42d7
commit e52912ef25

View File

@ -385,7 +385,7 @@ describe('setup-node', () => {
'Not found in manifest. Falling back to download directly from Node'
);
expect(dlSpy).toHaveBeenCalled();
expect(logSpy).toHaveBeenCalledWith(
expect(warningSpy).toHaveBeenCalledWith(
`Node version ${versionSpec} for platform ${os.platform} and architecture ${os.arch} was found but failed to download. ` +
'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' +
'To resolve this issue you may either fall back to the older version or try again later.'