Skip to content

Commit

Permalink
Removes lmdb-store from transformIgnorePatterns and fixes unit test j…
Browse files Browse the repository at this point in the history
…est issues (opensearch-project#1012)

Signed-off-by: Bishoy Boktor <65934617+boktorbb-amzn@users.noreply.github.com>
  • Loading branch information
boktorbb authored and Tommy Markley committed Jan 3, 2022
1 parent 6f6f0ad commit 049ffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/jest/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 049ffb8

Please sign in to comment.