{"library":"vue-test-helpers","type":"library","category":null,"description":"Helpers and syntactic sugars on top of @vue/test-utils v1 (beta). v2.0.0 provides global registration of mount/shallowMount, and extends Wrapper with methods like has, hasAll, hasAny, hasNone, hasClass, hasAttribute, hasProp, hasEmitted, id, and event triggers (click, dblclick, etc.) with chaining. Designed for Vue 2 projects using vue-test-utils beta; not compatible with Vue 3 or @vue/test-utils v2. Low maintenance cadence, last release 2019.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","vue","test","testing","unit test","helpers"],"last_verified":"Sat May 09","install":[{"cmd":"npm install vue-test-helpers","imports":["import setupHelpers from 'vue-test-helpers'","// after import setupHelpers from 'vue-test-helpers'; setupHelpers() // mount is now globally available","// after setupHelpers(), shallow is globally available"]},{"cmd":"yarn add vue-test-helpers","imports":[]},{"cmd":"pnpm add vue-test-helpers","imports":[]}],"homepage":null,"github":"https://github.com/phanan/vue-test-helpers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-test-helpers","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}