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 +}; 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", () => {