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

Commit 439eb93

Browse files
authored
Update table-provider.spec.js
1 parent c86fbb2 commit 439eb93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/table/table-provider.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ describe('table > provider functions', () => {
317317
})
318318

319319
it('provider is called when filter object child property is changed', async () => {
320-
let lastProviderContext = null
320+
let lastProviderContext = {}
321321
const provider = ctx => {
322322
lastProviderContext = ctx
323323
return testItems.slice()
@@ -339,6 +339,7 @@ describe('table > provider functions', () => {
339339

340340
const wrapper = mount(App)
341341

342+
await waitNT(wrapper.vm)
342343
await waitNT(wrapper.vm)
343344
await waitNT(wrapper.vm)
344345

@@ -351,6 +352,7 @@ describe('table > provider functions', () => {
351352
a: '456'
352353
})
353354

355+
await waitNT(wrapper.vm)
354356
await waitNT(wrapper.vm)
355357
await waitNT(wrapper.vm)
356358

0 commit comments

Comments
 (0)