{"id":13682620,"url":"https://github.com/eddyerburgh/jest-serializer-vue","last_synced_at":"2025-04-13T07:48:03.214Z","repository":{"id":24948798,"uuid":"102834573","full_name":"eddyerburgh/jest-serializer-vue","owner":"eddyerburgh","description":"Jest Serializer for Vue components","archived":false,"fork":false,"pushed_at":"2024-05-07T09:21:53.000Z","size":308,"stargazers_count":63,"open_issues_count":12,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T07:47:56.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddyerburgh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-08T07:54:17.000Z","updated_at":"2025-01-18T12:49:36.000Z","dependencies_parsed_at":"2024-06-18T12:39:15.703Z","dependency_job_id":"96d8a91c-ff95-444b-a1ea-8473b22bdfef","html_url":"https://github.com/eddyerburgh/jest-serializer-vue","commit_stats":{"total_commits":44,"total_committers":11,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"62f8d5057fbdacf32212b254c4b5813accaf7e1c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fjest-serializer-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fjest-serializer-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fjest-serializer-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fjest-serializer-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddyerburgh","download_url":"https://codeload.github.com/eddyerburgh/jest-serializer-vue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681494,"owners_count":21144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:01:49.808Z","updated_at":"2025-04-13T07:48:03.186Z","avatar_url":"https://github.com/eddyerburgh.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# jest-serializer-vue\n\nJest Vue snapshot serializer\n\n## Installation\n\n```\nnpm install --save-dev jest-serializer-vue\n```\n\n## Usage\n\nYou need to tell Jest to use the serializer. Add this to your Jest config:\n\n```\n\"snapshotSerializers\": [\n  \"\u003crootDir\u003e/node_modules/jest-serializer-vue\"\n]\n```\n\nAnd your snapshot tests will be pretty printed 💅\n\n```js\nimport { shallowMount } from '@vue/test-utils'\nimport Basic from './Basic.vue'\n\ndescribe('Basic.vue', () =\u003e {\n  it('renders correctly', () =\u003e {\n    const wrapper = shallowMount(Basic)\n    expect(wrapper).toMatchSnapshot()\n  })\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fjest-serializer-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddyerburgh%2Fjest-serializer-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fjest-serializer-vue/lists"}