Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.78 KB

index.test.js.md

File metadata and controls

37 lines (19 loc) · 1.78 KB

Snapshot report for index.test.js

The actual snapshot is saved in index.test.js.snap.

Generated by AVA.

Does not try to parse unsupported mobiledocs

Snapshot 1

false

Snapshot 2

true

Snapshot 3

'MobiledocVdomRenderer: Unable to parse the passed Mobiledoc version `\'0.2.1\'`.'

preact: renders a basic mobiledoc

Snapshot 1

'<root><p>Example with no markup<b>Example wrapped in `b` tag (opened markup #0), 1 closed markup</b><a href="https://www.example.com/">Example opening `a` tag (opened markup with #1, 0 closed markups)Example closing `a` tag (no opened markups, 1 closed markup)</a><a href="https://www.example.com/"><b>Example opening `a` tag and `b` tag, closing `b` tag (opened markups #1 and #0, 1 closed markup [closes markup #0])</b>Example closing `a` tag, (no opened markups, 1 closed markup [closes markup #1])</a></p><p><mention payload="[object Object]">@bob</mention><b><mention payload="[object Object]">@tom</mention></b></p></root>'

react: renders a basic mobiledoc

Snapshot 1

'<p data-reactroot="">Example with no markup<b>Example wrapped in `b` tag (opened markup #0), 1 closed markup</b><a href="https://www.example.com/">Example opening `a` tag (opened markup with #1, 0 closed markups)<!-- -->Example closing `a` tag (no opened markups, 1 closed markup)</a><a href="https://www.example.com/"><b>Example opening `a` tag and `b` tag, closing `b` tag (opened markups #1 and #0, 1 closed markup [closes markup #0])</b>Example closing `a` tag, (no opened markups, 1 closed markup [closes markup #1])</a></p><p data-reactroot=""><mention payload="[object Object]">@bob</mention><b><mention payload="[object Object]">@tom</mention></b></p>'

ultradom: renders a basic mobiledoc

Snapshot 1

'<undefined></undefined>'