@@ -17,8 +17,6 @@ describe('form-spinbutton', () => {
1717 expect ( wrapper . classes ( ) ) . toContain ( 'align-items-stretch' )
1818 expect ( wrapper . attributes ( 'role' ) ) . toEqual ( 'group' )
1919 expect ( wrapper . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
20- // We always have LTR to ensure the flex order stays ltr
21- expect ( wrapper . attributes ( 'dir' ) ) . toEqual ( 'ltr' )
2220
2321 // Should have 3 child elements (btn, output, btn)
2422 expect ( wrapper . findAll ( '.b-form-spinbutton > *' ) . length ) . toBe ( 3 )
@@ -77,8 +75,6 @@ describe('form-spinbutton', () => {
7775 expect ( wrapper . classes ( ) ) . toContain ( 'align-items-stretch' )
7876 expect ( wrapper . attributes ( 'role' ) ) . toEqual ( 'group' )
7977 expect ( wrapper . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
80- // We always have LTR to ensure the flex order stays ltr
81- expect ( wrapper . attributes ( 'dir' ) ) . toEqual ( 'ltr' )
8278
8379 // Should have 3 child elements (btn, output, btn)
8480 expect ( wrapper . findAll ( '.b-form-spinbutton > *' ) . length ) . toBe ( 3 )
@@ -136,8 +132,6 @@ describe('form-spinbutton', () => {
136132 expect ( wrapper . classes ( ) ) . toContain ( 'align-items-stretch' )
137133 expect ( wrapper . attributes ( 'role' ) ) . toEqual ( 'group' )
138134 expect ( wrapper . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
139- // We always have LTR to ensure the flex order stays ltr
140- expect ( wrapper . attributes ( 'dir' ) ) . toEqual ( 'ltr' )
141135
142136 // Should have 3 child elements (btn, output, btn)
143137 expect ( wrapper . findAll ( '.b-form-spinbutton > *' ) . length ) . toBe ( 3 )
@@ -187,8 +181,6 @@ describe('form-spinbutton', () => {
187181 expect ( wrapper . classes ( ) ) . not . toContain ( 'align-items-stretch' )
188182 expect ( wrapper . attributes ( 'role' ) ) . toEqual ( 'group' )
189183 expect ( wrapper . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
190- // We always have LTR to ensure the flex order stays ltr
191- expect ( wrapper . attributes ( 'dir' ) ) . toEqual ( 'ltr' )
192184
193185 // Should have 3 child elements (btn, output, btn)
194186 expect ( wrapper . findAll ( '.b-form-spinbutton > *' ) . length ) . toBe ( 3 )
@@ -774,8 +766,6 @@ describe('form-spinbutton', () => {
774766 expect ( wrapper . classes ( ) ) . not . toContain ( 'focus' )
775767 expect ( wrapper . attributes ( 'role' ) ) . toEqual ( 'group' )
776768 expect ( wrapper . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
777- // We always have LTR to ensure the flex order stays ltr
778- expect ( wrapper . attributes ( 'dir' ) ) . toEqual ( 'ltr' )
779769
780770 const $output = wrapper . find ( 'output' )
781771 expect ( $output . exists ( ) ) . toBe ( true )
0 commit comments