diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts index e894f434857923..ac35fba4151709 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts @@ -427,7 +427,7 @@ describe('The metric threshold alert type', () => { }, state: state ?? mockOptions.state.wrapped, }); - let resultState: any[] = []; + const resultState: any[] = []; test('first sends a No Data alert with the * group, but then reports groups when data is available', async () => { resultState.push(await execute('test.metric.3')); expect(mostRecentAction(instanceID).id).toBe(FIRED_ACTIONS.id);