Update tests
This commit is contained in:
parent
4d15fa52b8
commit
3de9ae58df
2 changed files with 587 additions and 15561 deletions
File diff suppressed because it is too large
Load diff
|
@ -45,7 +45,7 @@ describe("useRichText", () => {
|
||||||
);
|
);
|
||||||
|
|
||||||
const [data, change] = hook.result.current;
|
const [data, change] = hook.result.current;
|
||||||
expect(data.current).toBe(undefined);
|
expect(data.current).toMatchObject({ blocks: [] });
|
||||||
|
|
||||||
change(fixtures.short);
|
change(fixtures.short);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue