diff --git a/packages/victory-tooltip/package.json b/packages/victory-tooltip/package.json index ab95bc984..3c7e1930e 100644 --- a/packages/victory-tooltip/package.json +++ b/packages/victory-tooltip/package.json @@ -27,6 +27,9 @@ "peerDependencies": { "react": ">=16.6.0" }, + "devDependencies": { + "victory-tooltip": "*" + }, "publishConfig": { "provenance": true }, diff --git a/packages/victory-tooltip/src/victory-tooltip.test.tsx b/packages/victory-tooltip/src/victory-tooltip.test.tsx index 644e78762..db51085b9 100644 --- a/packages/victory-tooltip/src/victory-tooltip.test.tsx +++ b/packages/victory-tooltip/src/victory-tooltip.test.tsx @@ -2,8 +2,8 @@ import React from "react"; import { VictoryContainer, VictoryLabel } from "victory-core"; import { fireEvent, screen, render } from "@testing-library/react"; -import Flyout from './flyout'; -import { VictoryTooltip, VictoryTooltipProps } from './victory-tooltip'; +import Flyout from "./flyout"; +import { VictoryTooltip, VictoryTooltipProps } from "victory-tooltip"; describe("components/victory-tooltip", () => { const flyoutId = "flyout-1"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2426bbec0..e98205b0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -683,10 +683,13 @@ importers: lodash: ^4.17.19 prop-types: ^15.8.1 victory-core: ^36.8.1 + victory-tooltip: '*' dependencies: lodash: 4.17.21 prop-types: 15.8.1 victory-core: link:../victory-core + devDependencies: + victory-tooltip: 'link:' packages/victory-vendor: specifiers: