mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
deprecation(expect): rename addSnapshotSerializers
to addSnapshotSerializer
(#4582)
This commit is contained in:
parent
e4fbab08d1
commit
e299c8b689
@ -199,7 +199,11 @@ export function expect(value: unknown, customMessage?: string): Expected {
|
||||
}
|
||||
|
||||
expect.addEqualityTesters = addCustomEqualityTesters;
|
||||
/**
|
||||
* @deprecated (will be removed in 0.226.0) Use {@linkcode expect.addSnapshotSerializer} instead.
|
||||
*/
|
||||
expect.addSnapshotSerializers = addSerializer;
|
||||
expect.addSnapshotSerializer = addSerializer;
|
||||
expect.extend = setExtendMatchers;
|
||||
|
||||
expect.anything = anything;
|
||||
|
Loading…
Reference in New Issue
Block a user