Skip to content

Commit a4fbb65

Browse files
author
Becca Bailey
committed
Remove log spy
1 parent 5527cd7 commit a4fbb65

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/jest/victory-chart/helper-methods.test.js

-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { getChildComponents } from "victory-chart/lib/helper-methods";
22
import React from "react";
33
import { VictoryAxis } from "victory-axis";
44
import { VictoryLine } from "victory-line";
5-
import { Log } from "victory-core";
65

76
describe("victory-chart/helpers-methods", () => {
87
const getVictoryLine = (props) => React.createElement(VictoryLine, props);
@@ -13,13 +12,6 @@ describe("victory-chart/helpers-methods", () => {
1312
independent: getVictoryAxis({}),
1413
dependent: getVictoryAxis({ dependentAxis: true })
1514
};
16-
beforeEach(() => {
17-
jest.spyOn(Log, "warn");
18-
});
19-
20-
afterEach(() => {
21-
jest.clearAllMocks();
22-
});
2315

2416
it("returns a pair of default axes when no children are given", () => {
2517
const children = [];

0 commit comments

Comments
 (0)