Skip to content

Commit ca71a42

Browse files
committed
Fix test to deploy.
1 parent 62fb506 commit ca71a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code-view/__tests__/code-view.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe("CodeView", () => {
2323
render(<CodeView content={`# Hello World\n\nThis is a markdown example.`}></CodeView>);
2424
const wrapper = createWrapper()!.findCodeView()!;
2525
const content = wrapper.findContent();
26-
expect(content.getElement()).toHaveTextContent("# Hello World This is a markdown example.");
26+
expect(content.getElement()).toHaveTextContent("Line 1 # Hello World Line 2 Line 3 This is a markdown example.");
2727
});
2828

2929
test("correctly renders copy button slot", () => {

0 commit comments

Comments
 (0)