AddDataSourceConfig: Remove deprecated checkHealth prop (#50296)

pull/50612/head
kay delaney 3 years ago committed by GitHub
parent c96fa4c77d
commit e9fac9ee03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/grafana-e2e/src/flows/addDataSource.ts

@ -8,10 +8,6 @@ export interface AddDataSourceConfig {
basicAuth: boolean;
basicAuthPassword: string;
basicAuthUser: string;
/**
* @deprecated check health request is no longer supported
*/
checkHealth: boolean;
expectedAlertMessage: string | RegExp;
form: () => void;
name: string;
@ -26,7 +22,6 @@ export const addDataSource = (config?: Partial<AddDataSourceConfig>) => {
basicAuth: false,
basicAuthPassword: '',
basicAuthUser: '',
checkHealth: false,
expectedAlertMessage: 'Data source is working',
form: () => {},
name: `e2e-${uuidv4()}`,

Loading…
Cancel
Save