@@ -188,15 +188,6 @@ describe.skip('offcanvas', () => {
188
188
expect ( $closebutton . classes ( ) ) . toContain ( 'foobar' )
189
189
} )
190
190
191
- it ( 'first child div child BCloseButton has class when prop headerCloseWhite' , ( ) => {
192
- const wrapper = mount ( BOffcanvas , {
193
- props : { headerCloseWhite : true } ,
194
- } )
195
- const [ , $div ] = wrapper . findAll ( 'div' )
196
- const $closebutton = $div . getComponent ( BCloseButton )
197
- expect ( $closebutton . classes ( ) ) . toContain ( 'btn-close-white' )
198
- } )
199
-
200
191
it ( 'first child div child BCloseButton has not variant class when headerCloseVariant' , ( ) => {
201
192
const wrapper = mount ( BOffcanvas , {
202
193
props : { headerCloseVariant : 'warning' } ,
@@ -206,25 +197,6 @@ describe.skip('offcanvas', () => {
206
197
expect ( $closebutton . classes ( ) ) . not . toContain ( 'btn-warning' )
207
198
} )
208
199
209
- it ( 'first child div child BButton has prop ariaLabel to be default close' , ( ) => {
210
- const wrapper = mount ( BOffcanvas , {
211
- slots : { 'header-close' : 'foobar' } ,
212
- } )
213
- const [ , $div ] = wrapper . findAll ( 'div' )
214
- const $bbutton = $div . getComponent ( BButton )
215
- expect ( $bbutton . props ( 'ariaLabel' ) ) . toBe ( 'Close' )
216
- } )
217
-
218
- it ( 'first child div child BButton has prop ariaLabel to be prop headerCloseLabel' , ( ) => {
219
- const wrapper = mount ( BOffcanvas , {
220
- props : { headerCloseLabel : 'foobar' } ,
221
- slots : { 'header-close' : 'foobar' } ,
222
- } )
223
- const [ , $div ] = wrapper . findAll ( 'div' )
224
- const $bbutton = $div . getComponent ( BButton )
225
- expect ( $bbutton . props ( 'ariaLabel' ) ) . toBe ( 'foobar' )
226
- } )
227
-
228
200
it ( 'first child div child BButton has class when prop headerCloseClass' , ( ) => {
229
201
const wrapper = mount ( BOffcanvas , {
230
202
props : { headerCloseClass : 'foobar' } ,
@@ -235,16 +207,6 @@ describe.skip('offcanvas', () => {
235
207
expect ( $bbutton . classes ( ) ) . toContain ( 'foobar' )
236
208
} )
237
209
238
- it ( 'first child div child BButton has class when prop headerCloseWhite' , ( ) => {
239
- const wrapper = mount ( BOffcanvas , {
240
- props : { headerCloseWhite : true } ,
241
- slots : { 'header-close' : 'foobar' } ,
242
- } )
243
- const [ , $div ] = wrapper . findAll ( 'div' )
244
- const $bbutton = $div . getComponent ( BButton )
245
- expect ( $bbutton . classes ( ) ) . not . toContain ( 'btn-close-white' )
246
- } )
247
-
248
210
it ( 'first child div child BButton has variant class when headerCloseVariant' , ( ) => {
249
211
const wrapper = mount ( BOffcanvas , {
250
212
props : { headerCloseVariant : 'warning' } ,
0 commit comments