fix: update the test

This commit is contained in:
Tom Hu 2024-07-16 18:08:08 +02:00
parent 20724b9767
commit 06b4d41e38
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: SyntaxError: Unexpected token \'M\', "MESSAGE" is not valid JSON',
'Could not pull latest version information: Unexpected token \'M\', "MESSAGE" is not valid JSON',
);
});
});