Skip to content

Commit 3c1a9c1

Browse files
committed
remove helper methods export from candlestick module
1 parent 5241690 commit 3c1a9c1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export { default as VictoryCandlestick } from "./victory-candlestick";
22
export { default as Candle } from "./candle";
3-
export * as helperMethods from "./helper-methods";

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint max-nested-callbacks: 0 */
2-
import { helperMethods } from "victory-candlestick";
32
import { range } from "lodash";
43
import { fromJS } from "immutable";
4+
import { getData, getDomain } from "victory-candlestick/lib/helper-methods";
55

66
const immutableGetDataTest = {
77
createData: (x) => fromJS(x),
@@ -12,8 +12,6 @@ const getDataTest = {
1212
testLabel: "with js data"
1313
};
1414

15-
const { getData, getDomain } = helperMethods;
16-
1715
[getDataTest, immutableGetDataTest].forEach(({ createData, testLabel }) => {
1816
describe(`victory-candlestick/helper-methods ${testLabel}`, () => {
1917
describe("getData", () => {

0 commit comments

Comments
 (0)