mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update jest tests for pretty-format@25.3 (#43940)
This commit is contained in:
parent
5f1f721c53
commit
421fcadecf
@ -635,12 +635,12 @@ const snapshotSerializerPlugin: jest.SnapshotSerializerPlugin = {
|
||||
expect.addSnapshotSerializer(snapshotSerializerPlugin);
|
||||
|
||||
expect.addSnapshotSerializer({
|
||||
print: (value: {}) => '',
|
||||
print: (value: unknown) => '',
|
||||
test: (value: {}) => value === value,
|
||||
});
|
||||
|
||||
expect.addSnapshotSerializer({
|
||||
print: (value: {}, serialize: (val: {}) => string, indent: (str: string) => string, opts: {}) => '',
|
||||
print: (value: unknown, serialize: (val: {}) => string, indent: (str: string) => string, opts: {}) => '',
|
||||
test: (value: {}) => value === value,
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user