{"library":"vue-composable-testing","type":"library","category":null,"description":"A lightweight utility for testing Vue 3 composables outside of a full component context. v0.2.0 enables developers to invoke composables with `renderComposable`, inspect reactive state via the `result` object, and handle lifecycle hooks like `onUnmounted` by manually unmounting the underlying component. Supports Vue plugins (e.g., Pinia) and provider/inject patterns via a custom wrapper. Ships TypeScript types. Alternative to mounting a full SFC or using `@vue/test-utils` composable test helpers, with a simpler API focused on composable logic.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","vue","composition api","composable","testing","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install vue-composable-testing","imports":["import { renderComposable } from 'vue-composable-testing'","import renderComposable from 'vue-composable-testing'","import { ref } from 'vue'"]},{"cmd":"yarn add vue-composable-testing","imports":[]},{"cmd":"pnpm add vue-composable-testing","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"vue-composable-testing","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}