From 544e70821b3a7c7bb8cb84dbfcf12638d2add5b3 Mon Sep 17 00:00:00 2001 From: Bishoy Boktor Date: Thu, 9 Dec 2021 20:42:16 +0000 Subject: [PATCH] Removes lmdb-store from transformIgnorePatterns and fixes unit test jest issues Signed-off-by: Bishoy Boktor --- src/dev/jest/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js index c3b1d909ec5e..b03819ac6b58 100644 --- a/src/dev/jest/config.js +++ b/src/dev/jest/config.js @@ -107,7 +107,7 @@ export default { transformIgnorePatterns: [ // ignore all node_modules except monaco-editor which requires babel transforms to handle dynamic import() // since ESM modules are not natively supported in Jest yet (https://github.com/facebook/jest/issues/4842) - '[/\\\\]node_modules(?![\\/\\\\](monaco-editor|lmdb-store|weak-lru-cache|ordered-binary))[/\\\\].+\\.js$', + '[/\\\\]node_modules(?![\\/\\\\](monaco-editor|weak-lru-cache|ordered-binary))[/\\\\].+\\.js$', 'packages/osd-pm/dist/index.js', ], snapshotSerializers: [