mirror of https://github.com/vector-im/riot-web
Jest browser-node test (#28789)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28652/merge
parent
7e1927d388
commit
ec95435724
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue