File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ describe("fetchIntroSteps", () => {
10
10
steps : [
11
11
{
12
12
element : "#element_does_not_exist" ,
13
+ position : "top" ,
13
14
intro : "hello world" ,
14
15
} ,
15
16
{
@@ -23,7 +24,7 @@ describe("fetchIntroSteps", () => {
23
24
24
25
expect ( steps . length ) . toBe ( 2 ) ;
25
26
26
- expect ( steps [ 0 ] . position ) . toBe ( "floating " ) ;
27
+ expect ( steps [ 0 ] . position ) . toBe ( "top " ) ;
27
28
expect ( steps [ 0 ] . intro ) . toBe ( "hello world" ) ;
28
29
expect ( steps [ 0 ] . step ) . toBe ( 1 ) ;
29
30
@@ -80,7 +81,7 @@ describe("fetchIntroSteps", () => {
80
81
expect ( steps [ 1 ] . intro ) . toBe ( "second" ) ;
81
82
expect ( steps [ 1 ] . step ) . toBe ( 2 ) ;
82
83
83
- expect ( steps [ 2 ] . position ) . toBe ( "floating " ) ;
84
+ expect ( steps [ 2 ] . position ) . toBe ( "bottom " ) ;
84
85
expect ( steps [ 2 ] . intro ) . toBe ( "third" ) ;
85
86
expect ( steps [ 2 ] . step ) . toBe ( 3 ) ;
86
87
} ) ;
You can’t perform that action at this time.
0 commit comments