{"library":"jest-serializer-vue-tjw","type":"library","category":null,"description":"jest-serializer-vue-tjw is a Jest snapshot serializer specifically designed to make Vue component snapshots more readable and maintainable by normalizing HTML output. It handles common issues like attribute ordering, inline functions, and various `data-` attributes that can cause unnecessary snapshot churn. The package is currently at version 4.0.0, but this version primarily serves as a deprecation notice. The library is no longer actively maintained and has been replaced by `vue3-snapshot-serializer`. While `jest-serializer-vue-tjw` supported both Vue 2 and Vue 3 (with some caveats for the latter), its replacement is Vue 3-only and introduces several new features and improved configuration options. Users are advised to migrate to `vue3-snapshot-serializer` for new projects or Vue 3 codebases, or to pin this library to `3.x.x` if they must remain on Vue 2.","language":"javascript","status":"deprecated","version":"4.0.0","tags":["javascript","jest","serializer","vue"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jest-serializer-vue-tjw","imports":["\"snapshotSerializers\": [\n  \"<rootDir>/node_modules/jest-serializer-vue-tjw\"\n]","// vue.config.js\nmodule.exports = {\n  pluginOptions: {\n    jestSerializerVue: {\n      removeDataTest: true\n    }\n  }\n}"]},{"cmd":"yarn add jest-serializer-vue-tjw","imports":[]},{"cmd":"pnpm add jest-serializer-vue-tjw","imports":[]}],"homepage":null,"github":"https://github.com/tjw-lint/jest-serializer-vue-tjw","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jest-serializer-vue-tjw","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jest-serializer-vue-tjw/compatibility"}}