This commit is contained in:
Dmitry Shibanov 2022-09-19 17:26:47 +02:00
parent 7f8371344e
commit 62a27417dc
3 changed files with 9 additions and 23 deletions

View file

@ -19,7 +19,7 @@ describe('findPackageForDownload', () => {
spyGetManifestFromRepo = jest.spyOn(httpm.HttpClient.prototype, 'getJson');
spyGetManifestFromRepo.mockReturnValue({
result: JSON.stringify(data),
result: data,
statusCode: 200,
headers: {}
});