From b233030bdc27d2a7773688dc736843c83df6b21f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 21 Jan 2026 19:42:21 +0100 Subject: [PATCH] lets try calc's way --- scripts/project.json | 3 ++- tests/html/safeHTML.test.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/project.json b/scripts/project.json index 7385b674a..2ed560b4d 100644 --- a/scripts/project.json +++ b/scripts/project.json @@ -29,6 +29,7 @@ "moment", "superagent", "@sanity/diff-match-patch", - "fflate" + "fflate", + "jsdom-global" ] } diff --git a/tests/html/safeHTML.test.js b/tests/html/safeHTML.test.js index c6ccb8407..2223e476e 100644 --- a/tests/html/safeHTML.test.js +++ b/tests/html/safeHTML.test.js @@ -1,5 +1,4 @@ -require('jsdom-global')(); - +import 'jsdom-global'; import { safeHTML } from '../../client/homebrew/brewRenderer/safeHTML'; test('Exit if no document', function() {