Skip to content

A repro for demonstrating configuration of jsdom-screenshot with msw

Notifications You must be signed in to change notification settings

msutkowski/msw-jsdom-snapshot-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is an example for demonstrating configuration of jsdom-screenshot with msw.

Key findings

In 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.

Misc

This project was bootstrapped with Create React App.

About

A repro for demonstrating configuration of jsdom-screenshot with msw

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published