From 31a363d03b27de18ea77d57b23e1603d72d046ec Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Fri, 25 Jun 2021 10:49:28 +0100 Subject: [PATCH] mock canvas filter polyfill in tests --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2478060a57..3e7ee56346 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,8 @@ "\\$webapp/i18n/languages.json": "/__mocks__/languages.json", "decoderWorker\\.min\\.js": "/__mocks__/empty.js", "decoderWorker\\.min\\.wasm": "/__mocks__/empty.js", - "waveWorker\\.min\\.js": "/__mocks__/empty.js" + "waveWorker\\.min\\.js": "/__mocks__/empty.js", + "context-filter-polyfill": "/__mocks__/empty.js" }, "transformIgnorePatterns": [ "/node_modules/(?!matrix-js-sdk).+$"