import { render } from "@testing-library/react"; import React from "react"; import "@testing-library/jest-dom"; import { SquiggleChart } from "../src/index"; test("Logs no warnings or errors", async () => { debugger; const { unmount } = render(); unmount(); expect(console.warn).not.toBeCalled(); expect(console.error).not.toBeCalled(); });