Skip to content

Commit

Permalink
[ML] update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Aug 16, 2021
1 parent 9422554 commit 6f287fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/plugins/ml/common/util/alerts.test.ts
Expand Up @@ -95,6 +95,9 @@ describe('getResultJobsHealthRuleConfig', () => {
enabled: true,
timeInterval: null,
},
errorMessages: {
enabled: true,
},
});
});
test('returns config with overridden values based on provided configuration', () => {
Expand All @@ -119,6 +122,9 @@ describe('getResultJobsHealthRuleConfig', () => {
enabled: true,
timeInterval: null,
},
errorMessages: {
enabled: true,
},
});
});
});

0 comments on commit 6f287fc

Please sign in to comment.