🌐 AI搜索 & 代理 主页
Skip to content

Commit e14b273

Browse files
authored
Update tooltip.spec.js
1 parent 565e7ab commit e14b273

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/tooltip/tooltip.spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,9 +788,16 @@ describe('b-tooltip', () => {
788788
await waitRAF()
789789
// The visibility check runs on an interval of 100ms
790790
jest.runOnlyPendingTimers()
791+
await waitNT(wrapper.vm)
792+
await waitRAF()
791793
jest.runOnlyPendingTimers()
792794
await waitNT(wrapper.vm)
793795
await waitRAF()
796+
jest.runOnlyPendingTimers()
797+
await waitNT(wrapper.vm)
798+
await waitRAF()
799+
await waitNT(wrapper.vm)
800+
await waitRAF()
794801

795802
expect($button.attributes('aria-describedby')).not.toBeDefined()
796803

0 commit comments

Comments
 (0)