mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
API: return query results as JSON rather than base64 encoded Arrow (#32303)
This commit is contained in:
@@ -24,7 +24,7 @@ describe('Tempo data source', () => {
|
||||
})
|
||||
);
|
||||
const ds = new TempoDatasource(defaultSettings);
|
||||
await expect(ds.query({ targets: [{ query: '12345' }] } as any)).toEmitValuesWith((response) => {
|
||||
await expect(ds.query({ targets: [{ refId: 'refid1' }] } as any)).toEmitValuesWith((response) => {
|
||||
const fields = (response[0].data[0] as DataFrame).fields;
|
||||
expect(
|
||||
fields.map((f) => ({
|
||||
|
||||
Reference in New Issue
Block a user