From 06b4d41e381c999dbaf0c1ab9e65f44bef39b354 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 16 Jul 2024 18:08:08 +0200 Subject: [PATCH] fix: update the test --- src/version.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.test.ts b/src/version.test.ts index 8270617..e83cf91 100644 --- a/src/version.test.ts +++ b/src/version.test.ts @@ -58,7 +58,7 @@ describe('versionInfo', () => { expect(coreInfoSpy).toHaveBeenCalledTimes(2); expect(coreInfoSpy).toHaveBeenCalledWith('==> Running version unsupported'); expect(coreInfoSpy).toHaveBeenCalledWith( - 'Could not pull latest version information: SyntaxError: Unexpected token \'M\', "MESSAGE" is not valid JSON', + 'Could not pull latest version information: Unexpected token \'M\', "MESSAGE" is not valid JSON', ); }); });