mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
Merge pull request #483 from StroepWafel/fix-failing-tests-due-to-jsdom
Fix failing tests due to jsdom
This commit is contained in:
2 files changed
+6
-2
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'jsdom',
|
||||
testEnvironment: 'node',
|
||||
roots: ['<rootDir>/src'],
|
||||
testMatch: [
|
||||
'**/__tests__/**/*.ts',
|
||||
@@ -24,4 +24,4 @@ export default {
|
||||
'src/**/*.ts',
|
||||
'!src/**/*.d.ts',
|
||||
],
|
||||
};
|
||||
};
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
import stringToHTML from "./stringToHTML";
|
||||
|
||||
describe("stringToHTML", () => {
|
||||
|
||||
Reference in new issue
Block a user