Skip to content

Commit 0a8bf24

Browse files
committed
fix(shared-react): satisfy consistent-indexed-object-style in data-driven test
Made-with: Cursor
1 parent 12e6540 commit 0a8bf24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/shared-react/src/plugins/usj/annotation/selection.utils.data-driven.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ import {
4747
* Expected `roundTripped.start` for text locations where `$getUsjSelectionFromEditor` emits
4848
* base-USJ paths that differ from `entry.documentLocation` (paranext-style paths).
4949
*/
50-
const TEXT_CONTENT_ANNOTATION_AGNOSTIC_ROUND_TRIP_EXPECTED: Partial<
51-
Record<string, UsjDocumentLocation>
52-
> = {
50+
const TEXT_CONTENT_ANNOTATION_AGNOSTIC_ROUND_TRIP_EXPECTED: {
51+
[key: string]: UsjDocumentLocation | undefined;
52+
} = {
5353
"textContent at $.content[16].content[1].content[0] offset 0": {
5454
jsonPath: "$.content[16].content[0].content[0]",
5555
offset: 0,

0 commit comments

Comments
 (0)