From 0d31169794d32dce4154fc915a33fb2a1255defe Mon Sep 17 00:00:00 2001 From: yacchin1205 <968739+yacchin1205@users.noreply.github.com> Date: Sun, 26 May 2024 15:05:38 +0900 Subject: [PATCH] Fix backend tests to resolve the error `No H1 tag detected` --- static/tests/backend/specs/exportHTML.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/tests/backend/specs/exportHTML.js b/static/tests/backend/specs/exportHTML.js index 1042a6f..3111404 100644 --- a/static/tests/backend/specs/exportHTML.js +++ b/static/tests/backend/specs/exportHTML.js @@ -107,10 +107,10 @@ describe('ep_headings2 - export headings to HTML', function () { .set("Authorization", await generateJWTToken()); const html = res.body.data.html; console.warn('HTML', html); - if (html.indexOf('