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 62fb506 commit ca71a42Copy full SHA for ca71a42
src/code-view/__tests__/code-view.test.tsx
@@ -23,7 +23,7 @@ describe("CodeView", () => {
23
render(<CodeView content={`# Hello World\n\nThis is a markdown example.`}></CodeView>);
24
const wrapper = createWrapper()!.findCodeView()!;
25
const content = wrapper.findContent();
26
- expect(content.getElement()).toHaveTextContent("# Hello World This is a markdown example.");
+ expect(content.getElement()).toHaveTextContent("Line 1 # Hello World Line 2 Line 3 This is a markdown example.");
27
});
28
29
test("correctly renders copy button slot", () => {
0 commit comments