From bc8e0613687b377c8e24ba54f620a3204093b1af Mon Sep 17 00:00:00 2001 From: Martin Chak Date: Thu, 8 Dec 2022 23:43:35 -0500 Subject: [PATCH] Added more tests --- src/tests/App.test.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/tests/App.test.js b/src/tests/App.test.js index 9994b9a9..28a06309 100644 --- a/src/tests/App.test.js +++ b/src/tests/App.test.js @@ -8,10 +8,28 @@ import ProductHeatmap from '../ProductHeatmap'; import AggregateHeatmap from '../AggregateHeatmap'; import CanvasPage from '../CanvasPage'; import Canvas from '../Canvas'; +import Menu from '../components/Menubar'; +import ProductCarousel from '../components/Carousel'; import { act } from 'react-dom/test-utils'; const getById = queryByAttribute.bind(null, 'id'); +describe.only("Product Carousel", () => { + + test('Product Carousel Render', async() => { + render({return 0;}}/>); + }) +}) + +describe.only("Menubar", () => { + + test('Menubar Render', async() => { + render({return 0;}}/>); + + expect(screen.getByText(/login/i)).toBeInTheDocument() + }) +}) + describe("Canvas", () => { test('Canvas Render', async() => {