We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8459447 commit 2b27fd5Copy full SHA for 2b27fd5
packages/test-case-component/src/helpers/getThatMarks.ts
@@ -4,17 +4,15 @@ import { addContentRangeDecorations } from "./addContentRangeDecorations";
4
5
function getThatMarks({ thatMark }: { thatMark: TargetPlainObject[] }): DecorationItem[] {
6
const decorations: DecorationItem[] = [];
7
-
8
if (thatMark === undefined || thatMark.length === 0) {
9
- console.warn("finalStateSourceMarks are undefined. Skipping decoration generation.");
+ console.warn("finalStateThatMarks are undefined. Skipping decoration generation.");
10
return []
11
} else {
12
addContentRangeDecorations({
13
marks: thatMark,
14
highlightClass: "thatMark", decorations
15
});
16
}
17
18
return decorations
19
20
0 commit comments