Skip to content

Commit ac62b67

Browse files
committed
fix: Remove thatMark, sourceMark from during phase
1 parent ae15398 commit ac62b67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/test-case-component/src/generateHtml.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ function getDuringSnapshot(data: DataFixture): ExtendedTestCaseSnapshot {
104104
(data.finalState.documentContents?.split("\n").length > data.initialState.documentContents?.split("\n").length)
105105
? data.finalState
106106
: data.initialState;
107+
// Exclude sourceMark and thatMark from the DURING snapshot
108+
const { sourceMark, thatMark, ...restBase } = base;
107109
return {
108-
...base,
110+
...restBase,
109111
...data.ide,
110112
stepName: "during",
111113
};

0 commit comments

Comments
 (0)