Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Dec 11, 2023
1 parent 796ee7d commit b2c5cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/marketplaces/tests/marketplaces.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ describe('Marketplaces Service', () => {
describe('getDisableMarketplacesAddreses', () => {
it('returns list of addresses of disabled marketplaces', async () => {
const cacheService = module.get<MarketplacesCachingService>(MarketplacesCachingService);
const expectedResult = ['disabledAddress'];
const expected = ['disabledAddress'];
cacheService.getAllMarketplaces = jest.fn().mockReturnValueOnce(
new CollectionType({
items: inputMarketplaces,
Expand All @@ -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 () => {
Expand Down

0 comments on commit b2c5cff

Please sign in to comment.