Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webviews/test/transcript-row-hover-scope.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ test("a transcript line with no action behind it never lifts on hover", () => {
// `.cv-worked` is both the "Worked for" button and the live line's div: a state rule that
// lights the line itself names the button. Revealing a control inside it is fine.
const lit = subject(selector);
if (/\.cv-worked(?![\w-])/.test(lit) && !/^button\.cv-worked/.test(lit)) found.push(`${file}: ${selector}`);
if (/\.cv-worked(?![\w-])/.test(lit) && !lit.startsWith("button.cv-worked")) found.push(`${file}: ${selector}`);
}
expect(found).toEqual([]);
});
Expand Down
Loading