diff --git a/src/html/emit/adf-to-html.test.ts b/src/html/emit/adf-to-html.test.ts index ac96fe5..dd320c5 100644 --- a/src/html/emit/adf-to-html.test.ts +++ b/src/html/emit/adf-to-html.test.ts @@ -240,6 +240,7 @@ test('carries a paragraph or heading holding an alignment HTML cannot spell, or assert.equal(carriedBlockOf({ attrs: { level: '2' }, type: 'indentation' }), true) assert.equal(carriedBlockOf({ attrs: { level: 1, x: 1 }, type: 'indentation' }), true) assert.equal(carriedBlockOf({ type: 'indentation' }), true) + assert.equal(carriedBlockOf({ attrs: { level: 2 }, type: 'strong' }), true) assert.equal(carriedBlockOf({ attrs: { level: 1 }, type: 'indentation' }, { attrs: { level: 2 }, type: 'indentation' }), true) assert.equal(carriedBlockOf({ attrs: { align: 'center' }, type: 'alignment' }, { attrs: { align: 'end' }, type: 'alignment' }), true) assert.equal(carriedBlockOf({ attrs: { align: 'center' }, type: 'alignment' }, { attrs: { level: 1 }, type: 'indentation' }), true)