Closed fisker closed 2 years ago
When calling expect.addSnapshotSerializer in one test file, the serializer should not be used globally.
expect.addSnapshotSerializer
Solution verified in https://github.com/prettier/prettier/pull/12859
Fixes #35
Thank you! I made some edits, but the behavior should be the same.
When calling
expect.addSnapshotSerializer
in one test file, the serializer should not be used globally.Solution verified in https://github.com/prettier/prettier/pull/12859
Fixes #35