Skip to content

Preserve values across test re-runs in Watch mode #2803

Answered by novemberborn
anthumchris asked this question in Q&A
Discussion options

You must be logged in to vote

This would be possible using the experimental shared workers feature.

Keep in mind though that test files run in fresh contexts, so you won't be able to directly share the Puppeteer API.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by anthumchris
Comment options

You must be logged in to vote
1 reply
@novemberborn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants