{"id":15897014,"url":"https://github.com/msutkowski/msw-jsdom-snapshot-repro","last_synced_at":"2025-07-28T21:08:59.805Z","repository":{"id":151677212,"uuid":"288636187","full_name":"msutkowski/msw-jsdom-snapshot-repro","owner":"msutkowski","description":"A repro for demonstrating configuration of jsdom-screenshot with msw","archived":false,"fork":false,"pushed_at":"2020-08-19T05:05:10.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T19:59:23.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msutkowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2020-08-19T04:50:04.000Z","updated_at":"2020-08-19T05:05:13.000Z","dependencies_parsed_at":"2023-04-16T14:19:00.351Z","dependency_job_id":null,"html_url":"https://github.com/msutkowski/msw-jsdom-snapshot-repro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msutkowski/msw-jsdom-snapshot-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fmsw-jsdom-snapshot-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fmsw-jsdom-snapshot-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fmsw-jsdom-snapshot-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fmsw-jsdom-snapshot-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msutkowski","download_url":"https://codeload.github.com/msutkowski/msw-jsdom-snapshot-repro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutkowski%2Fmsw-jsdom-snapshot-repro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267585825,"owners_count":24111577,"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-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-10-06T09:24:45.256Z","updated_at":"2025-07-28T21:08:59.751Z","avatar_url":"https://github.com/msutkowski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis is an example for demonstrating configuration of [jsdom-screenshot](https://github.com/dferber90/jsdom-screenshot) with [msw](https://mswjs.io/).\n\n### Key findings\nIn order for these systems to work together, you must _currently_ pass in `pipe: false` to the `launch` options of `generateImage()`. In this example, this is done in `setupTests` in via the `setDefaultOptions` method. This will force Puppeteer to use a pipe instead of a WebSocket.\n\n### Misc\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fmsw-jsdom-snapshot-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsutkowski%2Fmsw-jsdom-snapshot-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutkowski%2Fmsw-jsdom-snapshot-repro/lists"}