From 29b6f9f3e5c799b8a44ea86aaf0e8a1995a7d3c2 Mon Sep 17 00:00:00 2001 From: maciek Date: Fri, 16 Sep 2022 09:03:09 +0200 Subject: [PATCH] feat: [subscription-update] - uncomment some console-lite tests --- apps/console-lite/setup-tests.ts | 1 + .../components/simple-market-list/simple-market-list.spec.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/console-lite/setup-tests.ts b/apps/console-lite/setup-tests.ts index 9009d7b8c..09d86aedb 100644 --- a/apps/console-lite/setup-tests.ts +++ b/apps/console-lite/setup-tests.ts @@ -1,4 +1,5 @@ import '@testing-library/jest-dom'; +import 'jest-canvas-mock'; import { defaultFallbackInView } from 'react-intersection-observer'; import ResizeObserver from 'resize-observer-polyfill'; diff --git a/apps/console-lite/src/app/components/simple-market-list/simple-market-list.spec.tsx b/apps/console-lite/src/app/components/simple-market-list/simple-market-list.spec.tsx index d92a75187..fadafbcd6 100644 --- a/apps/console-lite/src/app/components/simple-market-list/simple-market-list.spec.tsx +++ b/apps/console-lite/src/app/components/simple-market-list/simple-market-list.spec.tsx @@ -78,8 +78,7 @@ jest.mock('../../constants', () => ({ IS_MARKET_TRADABLE: jest.fn((arg) => mockIsTradable(arg)), })); -// eslint-disable-next-line jest/no-disabled-tests -describe.skip('SimpleMarketList', () => { +describe('SimpleMarketList', () => { afterEach(() => { jest.clearAllMocks(); cleanup();