From e52912ef25bc38da27c83c00c3c61bbb5b7bddc3 Mon Sep 17 00:00:00 2001 From: Nikolai Laevskii Date: Thu, 19 Oct 2023 17:12:39 +0200 Subject: [PATCH] Update tests --- __tests__/official-installer.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/official-installer.test.ts b/__tests__/official-installer.test.ts index f86ef7b..2d36c19 100644 --- a/__tests__/official-installer.test.ts +++ b/__tests__/official-installer.test.ts @@ -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.'