From 7b79af481fe79d7f655d521dd133838f0a5b3aa9 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 21 Nov 2022 16:40:17 +0800 Subject: [PATCH] Add prefix and suffix text to make text matching work --- packages/api/test/utils/parser.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/api/test/utils/parser.test.ts b/packages/api/test/utils/parser.test.ts index f26312c92..0a2f80aa4 100644 --- a/packages/api/test/utils/parser.test.ts +++ b/packages/api/test/utils/parser.test.ts @@ -57,7 +57,13 @@ describe('parsePreparedContent', async () => { const html = ` - This is some text within the highlight markers +
+
+ some prefix text + This is some text within the highlight markers + some suffix text +
+
`