Nuxt/packages/vue-app/test/__utils__/index.js

6 lines
101 B
JavaScript

export const vmTick = (vm) => {
return new Promise((resolve) => {
vm.$nextTick(resolve)
})
}