docs(testing): mention default serializer (#5590)

This commit is contained in:
Yoshiya Hinosawa 2024-07-31 16:45:22 +09:00 committed by GitHub
parent 20577daefe
commit d32fcaa662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,7 @@ export type SnapshotOptions<T = unknown> = {
*/
path?: string;
/**
* Function to use when serializing the snapshot.
* Function to use when serializing the snapshot. The default is {@linkcode serialize}.
*/
serializer?: (actual: T) => string;
};