From 51f496bf62f5b5ce0397a22fb58313e574d3cccb Mon Sep 17 00:00:00 2001 From: Bishoy Boktor <65934617+boktorbb-amzn@users.noreply.github.com> Date: Fri, 10 Dec 2021 08:54:57 -0800 Subject: [PATCH] Removes lmdb-store from transformIgnorePatterns and fixes unit test jest issues (#1012) 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: [