Skip to content

Commit

Permalink
Fix jest not importing olm.wasm
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Bauch <[email protected]>
  • Loading branch information
fancycode committed Jan 15, 2025
1 parent dc73c4f commit 4a45b79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module.exports = {
'\\.(css|scss)$': 'jest-transform-stub',
'^.+\\.svg(\\?raw)?$': '<rootDir>/src/__mocks__/svg.js',
'vendor/tflite/(.*).wasm$': '<rootDir>/src/utils/media/effects/virtual-background/vendor/tflite/$1.js',
'@matrix-org/olm/(.*).wasm$': '<rootDir>/node_modules/@matrix-org/olm/$1.js',
},

transform: {
Expand Down

0 comments on commit 4a45b79

Please sign in to comment.