@lyra/block-content-tests
Version:
Tests for shared block content rendering logic
24 lines (23 loc) • 448 B
JavaScript
module.exports = {
input: {
_key: 'R5FvMrjo',
_type: 'block',
children: [
{
_key: 'cZUQGmh4',
_type: 'span',
marks: ['code'],
text: 'lyra'
},
{
_key: 'toaiCqIK',
_type: 'span',
marks: [],
text: ' is the name of the CLI tool.'
}
],
markDefs: [],
style: 'normal'
},
output: '<p><code>lyra</code> is the name of the CLI tool.</p>'
}