{"id":15679288,"url":"https://github.com/taehwanno/jest-image-snapshot-example","last_synced_at":"2025-10-10T12:04:33.319Z","repository":{"id":24168920,"uuid":"100551334","full_name":"taehwanno/jest-image-snapshot-example","owner":"taehwanno","description":"Jest Image Snapshot Example with puppeteer and Circle CI","archived":false,"fork":false,"pushed_at":"2022-04-20T02:45:34.000Z","size":65,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T06:43:26.046Z","etag":null,"topics":["circleci","jest","jest-image-snapshot","jest-snapshots","puppeteer","visual-regression"],"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/taehwanno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-17T02:12:56.000Z","updated_at":"2024-05-20T05:23:16.000Z","dependencies_parsed_at":"2022-07-27T04:46:11.777Z","dependency_job_id":null,"html_url":"https://github.com/taehwanno/jest-image-snapshot-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taehwanno/jest-image-snapshot-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taehwanno%2Fjest-image-snapshot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taehwanno%2Fjest-image-snapshot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taehwanno%2Fjest-image-snapshot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taehwanno%2Fjest-image-snapshot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taehwanno","download_url":"https://codeload.github.com/taehwanno/jest-image-snapshot-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taehwanno%2Fjest-image-snapshot-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003857,"owners_count":26083638,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["circleci","jest","jest-image-snapshot","jest-snapshots","puppeteer","visual-regression"],"created_at":"2024-10-03T16:28:15.795Z","updated_at":"2025-10-10T12:04:33.260Z","avatar_url":"https://github.com/taehwanno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-image-snapshot-example [![Build Status](https://circleci.com/gh/taehwanno/jest-image-snapshot-example.svg?style=shield\u0026circle-token=29400e7bd43d764abe44e65bd1dd61d773b4e32d)](https://circleci.com/gh/taehwanno/jest-image-snapshot-example)\n\nJest Image Snapshot Example with [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot), [puppeteer](https://github.com/GoogleChrome/puppeteer) and [Circle CI](https://circleci.com/) 2.0 for Visual Regression Test\n\n# Prerequisite\n\n- node \u003e= `v7.6.0`\n- jest \u003e= `v20.0.0`\n- yarn\n\nThis project assumes node.js version with `v8.4.0`.\n\n# Installation\n\n```bash\n$ npm install\n```\n\n# Test\n\nFirst, run server.\n\n```bash\n$ npm start\n```\n\nand open another terminal, run test script.\n\n```bash\n$ npm test\n```\n\nTo update snapshot image file, run test with `-u`\n\n```bash\n$ npm test -- -u\n```\n\n# [GoogleChrome/puppeteer #290 Issue](https://github.com/GoogleChrome/puppeteer/issues/290) with Circle CI\n\nIn Circle CI Ubuntu 14.04 (Trusty), you should additionally install [required dependencies](https://github.com/GoogleChrome/puppeteer/issues/290#issuecomment-322838700).\n\n## Workaround Implementation\n- [./scripts/workaround-puppeteer-issue-290.sh](./scripts/workaround-puppeteer-issue-290.sh)\n- [./.circleci/config.yml](https://github.com/taehwanno/jest-image-snapshot-example/blob/86f15156785171695b616568e91dd115dad08a59/.circleci/config.yml#L22-L24)\n\n## References\n- https://github.com/GoogleChrome/puppeteer/pull/311\n- https://github.com/Quramy/puppeteer-example\n\n# License\n\nMIT © [Taehwan, No](https://github.com/taehwanno)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaehwanno%2Fjest-image-snapshot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaehwanno%2Fjest-image-snapshot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaehwanno%2Fjest-image-snapshot-example/lists"}