Compare commits

...

1 Commits

Author SHA1 Message Date
Michael Telatynski
5b619c5121 Jest browser-node test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-20 15:27:09 +00:00

View File

@@ -14,6 +14,8 @@ const config: Config = {
testEnvironment: "jsdom",
testEnvironmentOptions: {
url: "http://localhost/",
// This is needed to be able to load dual CJS/ESM WASM packages e.g. rust crypto & matrix-wywiwyg
customExportConditions: ["browser", "node"],
},
testMatch: ["<rootDir>/test/**/*-test.[tj]s?(x)"],
globalSetup: "<rootDir>/test/globalSetup.ts",