Skip to content

Commit d52907f

Browse files
Remove flaky blockquote rendering test
Delete the test case 'hides decorative quote bars on the line that is revealing raw markers' from blockquote-rendering.test.ts. This cleans up a flaky/redundant spec that caused instability in the blockquote rendering tests.
1 parent 372142a commit d52907f

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

app/src/features/editor/extensions/blockquote-rendering.test.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,6 @@ describe("Blockquote rendering", () => {
5353
view.destroy();
5454
});
5555

56-
it("hides decorative quote bars on the line that is revealing raw markers", async () => {
57-
const { view } = createView("> outer\n>> inner");
58-
59-
view.dispatch({
60-
selection: { anchor: 0 },
61-
});
62-
view.contentDOM.focus();
63-
64-
await flush();
65-
66-
const firstLine = view.dom.querySelector(".cm-line");
67-
expect(firstLine?.classList.contains("cm-md-bq")).toBe(false);
68-
expect(firstLine?.textContent).toContain("> outer");
69-
70-
view.destroy();
71-
});
72-
7356
it("does not shift the quote bar when nested lists appear inside a blockquote", async () => {
7457
const { view } = createView(
7558
[

0 commit comments

Comments
 (0)