https://github.com/tjw-lint/vue3-snapshot-serializer
Vitest/Jest Snapshot Serializer for Vue 3 components
https://github.com/tjw-lint/vue3-snapshot-serializer
Last synced: 2 months ago
JSON representation
Vitest/Jest Snapshot Serializer for Vue 3 components
- Host: GitHub
- URL: https://github.com/tjw-lint/vue3-snapshot-serializer
- Owner: tjw-lint
- License: mit
- Created: 2024-09-06T12:21:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T12:48:39.000Z (2 months ago)
- Last Synced: 2025-04-07T13:25:48.726Z (2 months ago)
- Language: JavaScript
- Homepage: https://TheJaredWilcurt.com/vue-snapshot-serializer
- Size: 586 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - jest-serializer-vue-tjw (⭐3) - Improved formatting of Jest Snapshots (Recently Updated / [Dec 04, 2024](/content/2024/12/04/README.md))
README
# Vue 3 Snapshot Serializer
Vue 3 Snapshot Serialization for Vitest and Jest.
For install & usage instructions, API documentation, live playground, and more, see:
* **https://TheJaredWilcurt.com/vue-snapshot-serializer** ⬅️ ⬅️ ⬅️ ⬅️ ⬅️ ⬅️ ⬅️ ⬅️ ⬅️
This library is only for Vue 3, if you need Vue 2 support, use [Jest-Serializer-Vue-TJW](https://github.com/tjw-lint/jest-serializer-vue-tjw).
Website repo:
* https://github.com/TheJaredWilcurt/vue-snapshot-serializer
## Running this repo locally
1. Fork or Clone the repo
1. Install [Volta](https://volta.sh)
1. `npm install`
1. `npm t` (runs unit tests)
1. `npm run fix` (runs linter)
1. `npm run` (shows all commands)