mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* add default arc and don't display stats background without any stats * Add node graph transform * Use coloring scheme for the node graph * Fix type * Add tests * Fix and update test * Fix strict ts errors * Fix ref handling * Update test data to connect spans to a parent
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
import { createTraceFrame } from './responseTransform';
|
|
import { testResponse, testResponseDataFrameFields } from './testResponse';
|
|
|
|
describe('createTraceFrame', () => {
|
|
it('creates data frame from jaeger response', () => {
|
|
const dataFrame = createTraceFrame(testResponse);
|
|
expect(dataFrame.fields).toMatchObject(testResponseDataFrameFields);
|
|
});
|
|
});
|