Skip to content

Commit c5e80c6

Browse files
committed
rename
1 parent 06d2efe commit c5e80c6

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/packages/tour/exitIntro.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getMockTour } from "./tests/mock";
1+
import { getMockTour } from "./mock";
22

33
describe("exitIntro", () => {
44
test("should reset the _currentStep", async () => {

src/packages/tour/tests/mock.ts renamed to src/packages/tour/mock.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import createElement from "../../../util/createElement";
2-
import { TourStep } from "../steps";
3-
import { Tour } from "../tour";
1+
import createElement from "../../util/createElement";
2+
import { TourStep } from "./steps";
3+
import { Tour } from "./tour";
44
import {
55
dataIntroAttribute,
66
dataPosition,
77
dataStepAttribute,
8-
} from "../dataAttributes";
8+
} from "./dataAttributes";
99

1010
export const appendMockSteps = (targetElement: HTMLElement = document.body) => {
1111
const mockElementOne = createElement("div");

src/packages/tour/refresh.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as tooltip from "../../packages/tooltip";
2-
import { getMockTour } from "./tests/mock";
2+
import { getMockTour } from "./mock";
33

44
describe("refresh", () => {
55
test("should not refetch the steps when refreshStep is false", async () => {

src/packages/tour/start.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { start } from "./start";
22
import * as steps from "./steps";
33
import * as addOverlayLayer from "./addOverlayLayer";
44
import * as nextStep from "./steps";
5-
import { getMockTour } from "./tests/mock";
5+
import { getMockTour } from "./mock";
66

77
describe("start", () => {
88
beforeEach(() => {

src/packages/tour/steps.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
getMockPartialSteps,
66
getMockSteps,
77
getMockTour,
8-
} from "./tests/mock";
8+
} from "./mock";
99
import createElement from "../../util/createElement";
1010

1111
jest.mock("./showElement");

src/packages/tour/tour.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
waitFor,
1212
} from "../../../tests/jest/helper";
1313
import * as dontShowAgain from "./dontShowAgain";
14-
import { getMockPartialSteps, getMockTour } from "./tests/mock";
14+
import { getMockPartialSteps, getMockTour } from "./mock";
1515
import { Tour } from "./tour";
1616
import { helperLayerClassName, overlayClassName } from "./classNames";
1717

0 commit comments

Comments
 (0)