Skip to content

Commit 2957026

Browse files
mock monaco import (#834) (#835)
Signed-off-by: Eric <menwe@amazon.com> (cherry picked from commit 4c49c8c) Co-authored-by: Eric Wei <menwe@amazon.com>
1 parent f53450c commit 2957026

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)