From 460ac0990da478b9e3000ef792d37db435bd9dc3 Mon Sep 17 00:00:00 2001 From: Becca Bailey Date: Wed, 25 May 2022 12:47:22 -0700 Subject: [PATCH] Remove explicit jest-dom imports --- test/jest/victory-area/victory-area.test.js | 1 - test/jest/victory-bar/victory-bar.test.js | 1 - test/jest/victory-box-plot/victory-box-plot.test.js | 1 - test/jest/victory-candlestick/victory-candlestick.test.js | 1 - test/jest/victory-line/victory-line.test.js | 1 - 5 files changed, 5 deletions(-) diff --git a/test/jest/victory-area/victory-area.test.js b/test/jest/victory-area/victory-area.test.js index 625fbedbf..748baeeb2 100644 --- a/test/jest/victory-area/victory-area.test.js +++ b/test/jest/victory-area/victory-area.test.js @@ -1,4 +1,3 @@ -import "@testing-library/jest-dom"; import { fireEvent, render, screen } from "@testing-library/react"; import { range } from "lodash"; import React from "react"; diff --git a/test/jest/victory-bar/victory-bar.test.js b/test/jest/victory-bar/victory-bar.test.js index 50bad6606..6e999c675 100644 --- a/test/jest/victory-bar/victory-bar.test.js +++ b/test/jest/victory-bar/victory-bar.test.js @@ -6,7 +6,6 @@ import { range } from "lodash"; import { VictoryChart } from "victory-chart"; import { VictoryBar, Bar } from "victory-bar"; import { isBar, getBarHeight } from "../../svg-test-helper"; -import "@testing-library/jest-dom"; describe("components/victory-bar", () => { describe("default component rendering", () => { diff --git a/test/jest/victory-box-plot/victory-box-plot.test.js b/test/jest/victory-box-plot/victory-box-plot.test.js index 5b00f0e4d..b7fffc959 100644 --- a/test/jest/victory-box-plot/victory-box-plot.test.js +++ b/test/jest/victory-box-plot/victory-box-plot.test.js @@ -1,5 +1,4 @@ /*eslint-disable react/prop-types */ -import "@testing-library/jest-dom"; import { render, screen } from "@testing-library/react"; import React from "react"; import { VictoryBoxPlot } from "victory-box-plot"; diff --git a/test/jest/victory-candlestick/victory-candlestick.test.js b/test/jest/victory-candlestick/victory-candlestick.test.js index 7c1f87429..baa43f6f6 100644 --- a/test/jest/victory-candlestick/victory-candlestick.test.js +++ b/test/jest/victory-candlestick/victory-candlestick.test.js @@ -1,5 +1,4 @@ /*eslint-disable max-nested-callbacks */ -import "@testing-library/jest-dom"; import { fireEvent, render, screen } from "@testing-library/react"; import { range } from "lodash"; import React from "react"; diff --git a/test/jest/victory-line/victory-line.test.js b/test/jest/victory-line/victory-line.test.js index 8820ff72b..0ea683194 100644 --- a/test/jest/victory-line/victory-line.test.js +++ b/test/jest/victory-line/victory-line.test.js @@ -1,4 +1,3 @@ -import "@testing-library/jest-dom"; import { fireEvent, render, screen } from "@testing-library/react"; import { random, range } from "lodash"; import React from "react";