当前分类:vue-test-utils

unit-testing - 如何测试 Vue 组件是否响应 $root 发出的事件?

javascript - 使用 sinon 提交表单时如何测试函数是否被调用?

vue.js - 为什么我的单元测试无法返回单文件组件中的文本,其中我在已安装的 Hook 上使用 $el.innerText 设置了该文本?

javascript - 类型错误 : Cannot read property 'getters' of undefined @vue/test-utils

javascript - Jest Test中触发事件不调用Method

javascript - 在 vue jest 中传递 propData 返回未定义

vuejs2 - Vue.js 插槽 : <template> tags used as slot content - How can I test this?

unit-testing - 如何在vue测试用例中传递screen.height和screen.width | Jest 框架

javascript - Vue 测试 - '... .push is not a function'

javascript - Vue Test Utils - 触发点击事件后数据不更新

unit-testing - 使用 jest 和 vue-test-utils2 在 vue3 typescript 单元测试中模拟 axios (已解决)

vue.js - Jest/Vue test utils - 来自子组件作用域插槽的方法 - [Vue warn] : Invalid handler for event "click": got undefined

javascript - 如何用jest和vue-test-utils模拟上传文件进行测试

vue-router - 为什么我在 Vitest 中使用 "history.state seems to have been manually replaced"时得到 "router.push"并且 nav 失败?

typescript - vue-test-utils +wrapper.vm 的 typescript 类型

unit-testing - 测试包含我自己编写的其他组件的VueJS组件

testing - 如何测试子组件是否触发了自定义事件

javascript - 为什么在挂载过程中组件中未定义这个全局本地 Vue 属性?

javascript - 测试功能组件内单击事件的函数/方法调用

vue.js - 使用 Jest 进行 Vue 单元测试 : How to test if there is one specific image in the component

热门标签: