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", () => {
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 } ) ;
You can’t perform that action at this time.
0 commit comments