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

Commit 0230cae

Browse files
authored
Update modal.spec.js
1 parent 7a2e046 commit 0230cae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/modal/modal.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ describe('modal', () => {
10491049
await waitNT(wrapper.vm)
10501050
await waitRAF()
10511051
await waitNT(wrapper.vm)
1052+
await waitRAF()
10521053
await waitNT(wrapper.vm)
10531054

10541055
// Modal should now be open
@@ -1065,6 +1066,7 @@ describe('modal', () => {
10651066
await waitNT(wrapper.vm)
10661067
await waitRAF()
10671068
await waitNT(wrapper.vm)
1069+
await waitRAF()
10681070
await waitNT(wrapper.vm)
10691071

10701072
// Modal should now be closed
@@ -1103,6 +1105,7 @@ describe('modal', () => {
11031105
await waitNT(wrapper.vm)
11041106
await waitRAF()
11051107
await waitNT(wrapper.vm)
1108+
await waitRAF()
11061109
await waitNT(wrapper.vm)
11071110

11081111
const $button = wrapper.find('button.trigger')
@@ -1131,6 +1134,7 @@ describe('modal', () => {
11311134
await waitNT(wrapper.vm)
11321135
await waitRAF()
11331136
await waitNT(wrapper.vm)
1137+
await waitRAF()
11341138
await waitNT(wrapper.vm)
11351139

11361140
// Modal should now be open
@@ -1148,6 +1152,7 @@ describe('modal', () => {
11481152
await waitNT(wrapper.vm)
11491153
await waitRAF()
11501154
await waitNT(wrapper.vm)
1155+
await waitRAF()
11511156
await waitNT(wrapper.vm)
11521157

11531158
// Modal should now be closed

0 commit comments

Comments
 (0)