Skip to content

Commit 4c49c8c

Browse files
authored
mock monaco import (opensearch-project#834)
Signed-off-by: Eric <menwe@amazon.com>
1 parent d220c73 commit 4c49c8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/setup.jest.ts

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({
2525
},
2626
}));
2727

28+
// address issue: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/issues/832
29+
jest.mock('@osd/monaco', () => ({}));
30+
2831
//for mocking window.scroll(0,0)
2932
const noop = () => {};
3033
Object.defineProperty(window, 'scroll', { value: noop, writable: true });

0 commit comments

Comments
 (0)