Skip to content

Commit aa29b74

Browse files
committed
fix jest tests
1 parent e402281 commit aa29b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/fields-document/src/DocumentEditor/tests/test-utils.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test('editor equality mismatch', () => {
7272
</editor>
7373
)
7474
)
75-
).toThrowError()
75+
).toThrow()
7676
})
7777

7878
test('cursor in the middle of text', () => {
@@ -330,7 +330,7 @@ test('marks that conflict with .marks', () => {
330330
</paragraph>
331331
</editor>
332332
)
333-
).toThrowError()
333+
).toThrow()
334334
})
335335

336336
test('differing current marks', () => {

0 commit comments

Comments
 (0)