Merge pull request #688 from robintown/load-olm-once

Ensure that Olm is only loaded once
This commit is contained in:
Robin
2022-10-31 14:44:33 -04:00
committed by GitHub
5 changed files with 67 additions and 52 deletions

View File

@@ -106,7 +106,8 @@
],
"moduleNameMapper": {
"\\.(css|less|svg)+$": "identity-obj-proxy",
"./IndexedDBWorker\\?worker": "<rootDir>/test/mocks/workerMock.ts"
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
}
}
}