Skip to content

Commit

Permalink
Mock monaco to avoid editor-related errors failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic committed Oct 13, 2021
1 parent 51595bd commit 989a894
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({
htmlIdGenerator: () => () => `id-${Math.random()}`,
}));

jest.mock('@kbn/monaco');

const defaultValidation = centralValidation[DataStream.HTTP];

const defaultHTTPConfig = defaultConfig[DataStream.HTTP];
Expand Down

0 comments on commit 989a894

Please sign in to comment.