mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
This reverts commit 51f5334748.
This commit is contained in:
@@ -38,7 +38,12 @@ jest.mock('@grafana/runtime/src/services/dataSourceSrv', () => {
|
||||
});
|
||||
|
||||
const props = {
|
||||
extended: {},
|
||||
extended: {
|
||||
dataSources: [
|
||||
{ text: 'Prometheus', value: null }, // default datasource
|
||||
{ text: 'Loki', value: { type: 'loki-ds', uid: 'abc' } },
|
||||
],
|
||||
},
|
||||
variable: adHocBuilder().withId('adhoc').withRootStateKey('key').withName('adhoc').build(),
|
||||
onPropChange: jest.fn(),
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ export function runFetchStream(
|
||||
data.refId = target.refId;
|
||||
data.name = target.alias || 'Fetch ' + target.refId;
|
||||
|
||||
let reader: ReadableStreamDefaultReader<Uint8Array>;
|
||||
let reader: ReadableStreamReader<Uint8Array>;
|
||||
const csv = new CSVReader({
|
||||
callback: {
|
||||
onHeader: (fields: Field[]) => {
|
||||
|
||||
Reference in New Issue
Block a user