fix: just get the test to pass

This commit is contained in:
Tom Hu 2024-07-16 18:10:07 +02:00
parent 06b4d41e38
commit 348ee96311
No known key found for this signature in database
GPG key ID: 79155678363963D2

View file

@ -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: Unexpected token \'M\', "MESSAGE" is not valid JSON',
'Could not pull latest version information: SyntaxError: Unexpected token M in JSON at position 0',
);
});
});