From 6523238eedae7833bfd3c7c997678fefd2017e26 Mon Sep 17 00:00:00 2001 From: StroepWafel <109832156+StroepWafel@users.noreply.github.com> Date: Tue, 1 Sep 2026 21:39:07 +0930 Subject: [PATCH 1/2] Configure Jest environment for stringToHTML tests Added Jest environment setup for testing. --- src/seqta/utils/stringToHTML.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/seqta/utils/stringToHTML.test.ts b/src/seqta/utils/stringToHTML.test.ts index 2a331dde..d31222e9 100644 --- a/src/seqta/utils/stringToHTML.test.ts +++ b/src/seqta/utils/stringToHTML.test.ts @@ -1,3 +1,7 @@ +/** + * @jest-environment jsdom + */ + import stringToHTML from "./stringToHTML"; describe("stringToHTML", () => { From da6a0f2ad32f404c6fc078e31731cd373e2d495a Mon Sep 17 00:00:00 2001 From: StroepWafel <109832156+StroepWafel@users.noreply.github.com> Date: Tue, 1 Sep 2026 21:39:50 +0930 Subject: [PATCH 2/2] revert changes from lockheed --- jest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 97c8f4a3..1d125826 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ export default { preset: 'ts-jest', - testEnvironment: 'jsdom', + testEnvironment: 'node', roots: ['/src'], testMatch: [ '**/__tests__/**/*.ts', @@ -24,4 +24,4 @@ export default { 'src/**/*.ts', '!src/**/*.d.ts', ], -}; \ No newline at end of file +};