Skip to content

Commit

Permalink
removed test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Wajahat6 committed May 26, 2024
1 parent d01c51b commit 9494475
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tests/chart-elements/AreaChart.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { render, screen } from "@testing-library/react";

Check failure on line 2 in src/tests/chart-elements/AreaChart.test.tsx

View workflow job for this annotation

GitHub Actions / Build dist

'screen' is defined but never used
import AreaChart from "components/chart-elements/AreaChart/AreaChart";

// 28 | 39.02 | 20 | 29.16 | 97-138,149-285,354-451
describe("AreaChart", () => {
beforeAll(() => {
global.ResizeObserver = class MockedResizeObserver {
Expand Down Expand Up @@ -30,8 +29,6 @@ describe("AreaChart", () => {
const { container } = render(
<AreaChart data={data} categories={["A", "B", "C"]} index="name" ref={ref} />,
);
//console.log("test ut");
//screen.debug();
expect(container.getElementsByClassName("w-full h-80").length).toBe(1);
});

Expand Down

0 comments on commit 9494475

Please sign in to comment.