mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Use GrafanaAlertStateDecision.Error instead of Error string in RuleEditor test (#55385)
This commit is contained in:
parent
93e4205caa
commit
e677afabdf
@ -294,7 +294,7 @@ describe('RuleEditor', () => {
|
||||
grafana_alert: {
|
||||
condition: 'B',
|
||||
data: getDefaultQueries(),
|
||||
exec_err_state: 'Error',
|
||||
exec_err_state: GrafanaAlertStateDecision.Error,
|
||||
no_data_state: 'NoData',
|
||||
title: 'my great new rule',
|
||||
},
|
||||
@ -505,7 +505,7 @@ describe('RuleEditor', () => {
|
||||
uid,
|
||||
condition: 'B',
|
||||
data: getDefaultQueries(),
|
||||
exec_err_state: 'Error',
|
||||
exec_err_state: GrafanaAlertStateDecision.Error,
|
||||
no_data_state: 'NoData',
|
||||
title: 'my great new rule',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user