Markdown previewer: code works but doesn't pass the test

I’ve built the following project:

https://codepen.io/ThornDuke/full/bGBLWJL

the system test return the errors

When I enter GitHub flavored markdown into the
#editor element, the text is rendered as HTML in the
#preview element as I type ...

When my markdown previewer first loads, the
default text in the #editor field should contain
valid markdown that represents ...

When my markdown previewer first loads, the
default markdown in the #editor field should be
rendered as HTML in the #preview element.

but the behavior of the app is exactly like that. Where can it be my error?

There can be a mismatch between what you “see” and what the test “sees”. If you want to find out what goes wrong you could:

  • Compare with an example solution that passes the tests
  • Read the code of the tests and find out what exact criteria the test assumes to be fulfilled.