From 832b18a4d4e206bcc092af025cda39fcc55d2bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 21 Jan 2026 17:27:00 +0100 Subject: [PATCH] Revert "lets try this" This reverts commit eab526a0518b684f8655c2c8c19b5911c5ba8e08. --- package.json | 1 - tests/html/safeHTML.test.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0eeea9133..75efa3664 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "build/*" ], "jest": { - "testEnvironment": "jsdom", "testTimeout": 30000, "modulePaths": [ "node_modules", diff --git a/tests/html/safeHTML.test.js b/tests/html/safeHTML.test.js index 168154fbe..d1bb2b539 100644 --- a/tests/html/safeHTML.test.js +++ b/tests/html/safeHTML.test.js @@ -1,3 +1,6 @@ +import jsdomGlobal from 'jsdom-global'; +jsdomGlobal(); + import { safeHTML } from '../../client/homebrew/brewRenderer/safeHTML'; test('Exit if no document', function() {