summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mfm.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mfm.ts b/test/mfm.ts
index 111f70bef1..1fda4c3727 100644
--- a/test/mfm.ts
+++ b/test/mfm.ts
@@ -713,6 +713,17 @@ describe('Text', () => {
], tokens);
});
});
+
+ describe('italic', () => {
+ it('simple', () => {
+ const tokens = analyze('<i>foo</i>');
+ assert.deepEqual([
+ nodeWithChildren('italic', [
+ text('foo')
+ ]),
+ ], tokens);
+ });
+ });
});
describe('toHtml', () => {