fix: substring

This commit is contained in:
Tom Hu 2024-07-16 19:44:16 +02:00
parent 348ee96311
commit 9693ac39cd
No known key found for this signature in database
GPG key ID: 79155678363963D2

View file

@ -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'));
});
});