-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the need for
context
in beforeAll
While debugging things for a customer, we found that `beforeAll` doesn't give us a context that we can use. While running the local tests, I found that I could initialize the takeDOMSnapshot function lazily when needed. This will simplify setup for users of this library. I'm making this a "soft" breaking change by generating a warning log if you pass a context to happoPlaywright.init. This way people can discover the simplification without much disruption.
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters