Update tests

This commit is contained in:
Nikolai Laevskii 2023-10-19 17:12:39 +02:00
父节点 ac16ae42d7
当前提交 e52912ef25
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

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