Skip to content

Commit 7112475

Browse files
committed
Selector without element is now not floating
1 parent 33b6136 commit 7112475

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/core/fetchIntroSteps.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe("fetchIntroSteps", () => {
1010
steps: [
1111
{
1212
element: "#element_does_not_exist",
13+
position: "top",
1314
intro: "hello world",
1415
},
1516
{
@@ -23,7 +24,7 @@ describe("fetchIntroSteps", () => {
2324

2425
expect(steps.length).toBe(2);
2526

26-
expect(steps[0].position).toBe("floating");
27+
expect(steps[0].position).toBe("top");
2728
expect(steps[0].intro).toBe("hello world");
2829
expect(steps[0].step).toBe(1);
2930

@@ -80,7 +81,7 @@ describe("fetchIntroSteps", () => {
8081
expect(steps[1].intro).toBe("second");
8182
expect(steps[1].step).toBe(2);
8283

83-
expect(steps[2].position).toBe("floating");
84+
expect(steps[2].position).toBe("bottom");
8485
expect(steps[2].intro).toBe("third");
8586
expect(steps[2].step).toBe(3);
8687
});

0 commit comments

Comments
 (0)