mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Update jest tests for pretty-format@25.3 (#43940)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user