mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
docs(testing): mention default serializer (#5590)
This commit is contained in:
parent
20577daefe
commit
d32fcaa662
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user