@@ -31,7 +31,7 @@ describe('dropdown', () => {
31
31
expect ( $button . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
32
32
expect ( $button . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
33
33
expect ( $button . attributes ( 'id' ) ) . toBeDefined ( )
34
- expect ( $button . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } _BV_toggle_ ` )
34
+ expect ( $button . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } __BV_toggle_ ` )
35
35
expect ( $button . text ( ) ) . toEqual ( '' )
36
36
37
37
expect ( wrapper . findAll ( '.dropdown-menu' ) . length ) . toBe ( 1 )
@@ -42,7 +42,7 @@ describe('dropdown', () => {
42
42
expect ( $menu . attributes ( 'tabindex' ) ) . toBeDefined ( )
43
43
expect ( $menu . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
44
44
expect ( $menu . attributes ( 'aria-labelledby' ) ) . toBeDefined ( )
45
- expect ( $menu . attributes ( 'aria-labelledby' ) ) . toEqual ( `${ wrapperId } _BV_toggle_ ` )
45
+ expect ( $menu . attributes ( 'aria-labelledby' ) ) . toEqual ( `${ wrapperId } __BV_toggle_ ` )
46
46
expect ( $menu . text ( ) ) . toEqual ( '' )
47
47
48
48
wrapper . destroy ( )
@@ -77,7 +77,7 @@ describe('dropdown', () => {
77
77
expect ( $split . classes ( ) ) . toContain ( 'btn' )
78
78
expect ( $split . classes ( ) ) . toContain ( 'btn-secondary' )
79
79
expect ( $split . attributes ( 'id' ) ) . toBeDefined ( )
80
- expect ( $split . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } _BV_button_ ` )
80
+ expect ( $split . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } __BV_button_ ` )
81
81
expect ( $split . text ( ) ) . toEqual ( '' )
82
82
83
83
expect ( $toggle . classes ( ) ) . toContain ( 'btn' )
@@ -89,7 +89,7 @@ describe('dropdown', () => {
89
89
expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
90
90
expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
91
91
expect ( $toggle . attributes ( 'id' ) ) . toBeDefined ( )
92
- expect ( $toggle . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } _BV_toggle_ ` )
92
+ expect ( $toggle . attributes ( 'id' ) ) . toEqual ( `${ wrapperId } __BV_toggle_ ` )
93
93
expect ( $toggle . text ( ) ) . toEqual ( '' )
94
94
95
95
expect ( wrapper . findAll ( '.dropdown-menu' ) . length ) . toBe ( 1 )
@@ -100,7 +100,7 @@ describe('dropdown', () => {
100
100
expect ( $menu . attributes ( 'tabindex' ) ) . toBeDefined ( )
101
101
expect ( $menu . attributes ( 'tabindex' ) ) . toEqual ( '-1' )
102
102
expect ( $menu . attributes ( 'aria-labelledby' ) ) . toBeDefined ( )
103
- expect ( $menu . attributes ( 'aria-labelledby' ) ) . toEqual ( `${ wrapperId } _BV_toggle_ ` )
103
+ expect ( $menu . attributes ( 'aria-labelledby' ) ) . toEqual ( `${ wrapperId } __BV_toggle_ ` )
104
104
expect ( $menu . text ( ) ) . toEqual ( '' )
105
105
106
106
wrapper . destroy ( )
0 commit comments