From d50e082da245a2685b485ae6a09788c97bb0e1f9 Mon Sep 17 00:00:00 2001 From: Mayank Date: Mon, 15 Jul 2024 09:22:15 +0530 Subject: [PATCH] Add test for autolink --- test.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test.jsx b/test.jsx index 8223918..fdcda28 100644 --- a/test.jsx +++ b/test.jsx @@ -1074,4 +1074,8 @@ test('react-markdown', async function (t) { } } }) + + await t.test('should autolink and autoLink prop is set', function(){ + assert.equal(renderToStaticMarkup(), '

This is a link https://google.com

') + }) })