Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Dec 28, 2022
1 parent 0eaf302 commit 2135951
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x-pack/plugins/alerting/server/lib/last_run_status.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ describe('lastRunFromState', () => {
);

expect(result.lastRun.outcome).toEqual('warning');
expect(result.lastRun.outcomeMsg).toEqual(['MOCK_WARNING', 'Rule execution reported a warning']);
expect(result.lastRun.outcomeMsg).toEqual([
'MOCK_WARNING',
'Rule execution reported a warning',
]);
expect(result.lastRun.warning).toEqual(null);

expect(result.lastRun.alertsCount).toEqual({
Expand Down

0 comments on commit 2135951

Please sign in to comment.