File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ describe('v-b-popover directive', () => {
7171
7272 // Should have instance of popover class on it
7373 expect ( $button . element [ BV_POPOVER ] ) . toBeDefined ( )
74- expect ( $button . element [ BV_POPOVER ] ) . toBeInstanceOf ( BVPopover )
74+ expect ( $button . element [ BV_POPOVER ] . $options . name ) . toBe ( ' BVPopover' )
7575
7676 wrapper . destroy ( )
7777 } )
@@ -105,7 +105,7 @@ describe('v-b-popover directive', () => {
105105
106106 // Should have instance of popover class on it
107107 expect ( $button . element [ BV_POPOVER ] ) . toBeDefined ( )
108- expect ( $button . element [ BV_POPOVER ] ) . toBeInstanceOf ( BVPopover )
108+ expect ( $button . element [ BV_POPOVER ] . $options . name ) . toBe ( ' BVPopover' )
109109
110110 expect ( $button . attributes ( 'aria-describedby' ) ) . toBeUndefined ( )
111111
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ describe('v-b-tooltip directive', () => {
7171
7272 // Should have instance of popover class on it
7373 expect ( $button . element [ BV_TOOLTIP ] ) . toBeDefined ( )
74- expect ( $button . element [ BV_TOOLTIP ] ) . toBeInstanceOf ( BVTooltip )
74+ expect ( $button . element [ BV_TOOLTIP ] . $options . name ) . toBe ( ' BVTooltip' )
7575
7676 wrapper . destroy ( )
7777 } )
@@ -106,7 +106,7 @@ describe('v-b-tooltip directive', () => {
106106
107107 // Should have instance of popover class on it
108108 expect ( $button . element [ BV_TOOLTIP ] ) . toBeDefined ( )
109- expect ( $button . element [ BV_TOOLTIP ] ) . toBeInstanceOf ( BVTooltip )
109+ expect ( $button . element [ BV_TOOLTIP ] . $options . name ) . toBe ( ' BVTooltip' )
110110
111111 expect ( $button . attributes ( 'aria-describedby' ) ) . toBeUndefined ( )
112112
@@ -158,7 +158,7 @@ describe('v-b-tooltip directive', () => {
158158
159159 // Should have instance of popover class on it
160160 expect ( $button . element [ BV_TOOLTIP ] ) . toBeDefined ( )
161- expect ( $button . element [ BV_TOOLTIP ] ) . toBeInstanceOf ( BVTooltip )
161+ expect ( $button . element [ BV_TOOLTIP ] . $options . name ) . toBe ( ' BVTooltip' )
162162
163163 expect ( $button . attributes ( 'aria-describedby' ) ) . toBeUndefined ( )
164164
You can’t perform that action at this time.
0 commit comments