diff --git a/src/version.test.ts b/src/version.test.ts index 5f78f6e..2d4a2e8 100644 --- a/src/version.test.ts +++ b/src/version.test.ts @@ -57,8 +57,6 @@ 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 in JSON at position 0', - ); + expect(coreInfoSpy).toHaveBeenCalledWith(expect.stringContaining('Could not pull latest version information')); }); });