From b2c5cff7d57b6e9c4053b88db219605aee0606dc Mon Sep 17 00:00:00 2001 From: danielailie Date: Mon, 11 Dec 2023 14:00:03 +0200 Subject: [PATCH] Fix test --- src/modules/marketplaces/tests/marketplaces.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/marketplaces/tests/marketplaces.service.spec.ts b/src/modules/marketplaces/tests/marketplaces.service.spec.ts index e6f0898d1..c0bcd6027 100644 --- a/src/modules/marketplaces/tests/marketplaces.service.spec.ts +++ b/src/modules/marketplaces/tests/marketplaces.service.spec.ts @@ -1036,7 +1036,7 @@ describe('Marketplaces Service', () => { describe('getDisableMarketplacesAddreses', () => { it('returns list of addresses of disabled marketplaces', async () => { const cacheService = module.get(MarketplacesCachingService); - const expectedResult = ['disabledAddress']; + const expected = ['disabledAddress']; cacheService.getAllMarketplaces = jest.fn().mockReturnValueOnce( new CollectionType({ items: inputMarketplaces, @@ -1046,7 +1046,7 @@ describe('Marketplaces Service', () => { const result = await service.getDisabledMarketplacesAddreses(); - expect(result).toMatchObject(expectedResult); + expect(result).toMatchObject(expected); }); it('when no expernal marketplace exists returns empty array', async () => {