File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- import { getMockTour } from "./tests/ mock" ;
1
+ import { getMockTour } from "./mock" ;
2
2
3
3
describe ( "exitIntro" , ( ) => {
4
4
test ( "should reset the _currentStep" , async ( ) => {
Original file line number Diff line number Diff line change 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" ;
4
4
import {
5
5
dataIntroAttribute ,
6
6
dataPosition ,
7
7
dataStepAttribute ,
8
- } from ".. /dataAttributes" ;
8
+ } from "./dataAttributes" ;
9
9
10
10
export const appendMockSteps = ( targetElement : HTMLElement = document . body ) => {
11
11
const mockElementOne = createElement ( "div" ) ;
Original file line number Diff line number Diff line change 1
1
import * as tooltip from "../../packages/tooltip" ;
2
- import { getMockTour } from "./tests/ mock" ;
2
+ import { getMockTour } from "./mock" ;
3
3
4
4
describe ( "refresh" , ( ) => {
5
5
test ( "should not refetch the steps when refreshStep is false" , async ( ) => {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { start } from "./start";
2
2
import * as steps from "./steps" ;
3
3
import * as addOverlayLayer from "./addOverlayLayer" ;
4
4
import * as nextStep from "./steps" ;
5
- import { getMockTour } from "./tests/ mock" ;
5
+ import { getMockTour } from "./mock" ;
6
6
7
7
describe ( "start" , ( ) => {
8
8
beforeEach ( ( ) => {
Original file line number Diff line number Diff line change 5
5
getMockPartialSteps ,
6
6
getMockSteps ,
7
7
getMockTour ,
8
- } from "./tests/ mock" ;
8
+ } from "./mock" ;
9
9
import createElement from "../../util/createElement" ;
10
10
11
11
jest . mock ( "./showElement" ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
waitFor ,
12
12
} from "../../../tests/jest/helper" ;
13
13
import * as dontShowAgain from "./dontShowAgain" ;
14
- import { getMockPartialSteps , getMockTour } from "./tests/ mock" ;
14
+ import { getMockPartialSteps , getMockTour } from "./mock" ;
15
15
import { Tour } from "./tour" ;
16
16
import { helperLayerClassName , overlayClassName } from "./classNames" ;
17
17
You can’t perform that action at this time.
0 commit comments