Skip to content

Commit e52912e

Browse files
Update tests
1 parent ac16ae4 commit e52912e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/official-installer.test.ts

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

0 commit comments

Comments
 (0)