From 4a45b798f2f7e39e8fbc7d15b05baa1490a27b42 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Wed, 15 Jan 2025 16:01:19 +0100 Subject: [PATCH] Fix jest not importing olm.wasm Signed-off-by: Joachim Bauch --- jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.js b/jest.config.js index 8b15353537e9..a98f8df10f74 100644 --- a/jest.config.js +++ b/jest.config.js @@ -67,6 +67,7 @@ module.exports = { '\\.(css|scss)$': 'jest-transform-stub', '^.+\\.svg(\\?raw)?$': '/src/__mocks__/svg.js', 'vendor/tflite/(.*).wasm$': '/src/utils/media/effects/virtual-background/vendor/tflite/$1.js', + '@matrix-org/olm/(.*).wasm$': '/node_modules/@matrix-org/olm/$1.js', }, transform: {