Skip to content

Commit

Permalink
Plugin E2E: Fix typings for the toHaveAlert matcher (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker authored Aug 21, 2024
1 parent bc7ade4 commit e1f6ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-e2e/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ declare global {
/**
* Asserts that a GrafanaPage contains an alert with the specified severity. Use the options to specify the timeout and to filter the alerts.
*/
toHaveAlert(this: Matchers<unknown, GrafanaPage>, severity: AlertVariant, options?: AlertPageOptions): R;
toHaveAlert(this: Matchers<unknown, GrafanaPage>, severity: AlertVariant, options?: AlertPageOptions): Promise<R>;
}
}
}

0 comments on commit e1f6ddd

Please sign in to comment.