mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: throttle fractional indices validation (#8306)
This commit is contained in:
parent
e63dd025c9
commit
84d89b9a8a
4 changed files with 71 additions and 40 deletions
|
@ -766,6 +766,7 @@ function test(
|
|||
validateFractionalIndices(elements, {
|
||||
shouldThrow: true,
|
||||
includeBoundTextValidation: true,
|
||||
ignoreLogs: true,
|
||||
}),
|
||||
).toThrowError(InvalidFractionalIndexError);
|
||||
}
|
||||
|
@ -783,6 +784,7 @@ function test(
|
|||
validateFractionalIndices(syncedElements, {
|
||||
shouldThrow: true,
|
||||
includeBoundTextValidation: true,
|
||||
ignoreLogs: true,
|
||||
}),
|
||||
).not.toThrowError(InvalidFractionalIndexError);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue