mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
11 lines
318 B
TypeScript
11 lines
318 B
TypeScript
import { transformResponse } from './transforms';
|
|
import { traceFrameFields, zipkinResponse } from './testData';
|
|
|
|
describe('transformResponse', () => {
|
|
it('transforms response', () => {
|
|
const dataFrame = transformResponse(zipkinResponse);
|
|
|
|
expect(dataFrame.fields).toMatchObject(traceFrameFields);
|
|
});
|
|
});
|