Skip to content

Commit a921f8e

Browse files
committed
Update FileDiff.test.tsx
1 parent e577ad0 commit a921f8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/code-versions/src/components/FileDiff.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const REMOVED_ROW_CLASS_NAME = "to-diff-remove/10"
99

1010
function getCodeElement(content: string) {
1111
return screen.getByText(
12+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
1213
(_content, element) => element?.tagName === "CODE" && element.textContent?.trim() === content
1314
)
1415
}

0 commit comments

Comments
 (0)