diff --git a/apps/web/package.json b/apps/web/package.json index 3e228b1..295050f 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -8,7 +8,7 @@ "dev": "next dev --port 7500", "lint": "next lint", "start": "next start", - "test": "dotenv -e .env.test -- jest" + "test": "dotenv -e .env.test -- jest --logHeapUsage" }, "dependencies": { "@apollo/client": "3.10.6", diff --git a/apps/web/src/components/home/newsletter/newsletter-form.test.tsx b/apps/web/src/components/home/newsletter/newsletter-form.test.tsx index 63b5447..cefdae6 100644 --- a/apps/web/src/components/home/newsletter/newsletter-form.test.tsx +++ b/apps/web/src/components/home/newsletter/newsletter-form.test.tsx @@ -10,7 +10,7 @@ jest.mock('next/router', () => require('next-router-mock')); // TODO - to be refactored soon // eslint-disable-next-line jest/no-disabled-tests -describe.skip('Newsletter Form', () => { +describe('Newsletter Form', () => { beforeEach(() => { // IntersectionObserver isn't available in test environment const mockIntersectionObserver = jest.fn();