Skip to content

Commit 3d585ba

Browse files
fix: test cases
1 parent f243622 commit 3d585ba

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

projects/observability/src/shared/components/cartesian/cartesian-chart.component.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ describe('Cartesian Chart component', () => {
202202
tick();
203203
expect(chart.queryAll(CartesianLegend.CSS_SELECTOR, { root: true }).length).toBe(1);
204204
expect(chart.queryAll('.legend-entry').length).toBe(2);
205-
expect(chart.query('.group-1')).toExist();
206205
expect(chart.query('.reset.hidden')).toExist();
207206

208207
const legendEntriesTitleElement = chart.query('.legend-entries-title') as Element;

projects/observability/src/shared/dashboard/data/graphql/explore/explore-cartesian-data-source.model.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ describe('Explore cartesian data source model', () => {
134134
timestamp: secondIntervalTime,
135135
value: 15
136136
}
137-
]
137+
],
138+
groupName: 'sum(foo)'
138139
}
139140
],
140141
bands: []
@@ -198,7 +199,8 @@ describe('Explore cartesian data source model', () => {
198199
data: [
199200
['first', 10],
200201
['second', 15]
201-
]
202+
],
203+
groupName: 'sum(foo)'
202204
}
203205
],
204206
bands: []

projects/observability/src/shared/dashboard/data/graphql/explorer-visualization/explorer-visualization-cartesian-data-source.model.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
import { ColorService, FixedTimeRange, TimeDuration, TimeUnit } from '@hypertrace/common';
32
import { createModelFactory } from '@hypertrace/dashboards/testing';
43
import { runFakeRxjs } from '@hypertrace/test-utils';
@@ -154,7 +153,8 @@ describe('Explorer Visualization cartesian data source model', () => {
154153
timestamp: secondIntervalTime,
155154
value: 15
156155
}
157-
]
156+
],
157+
groupName: 'sum(foo)'
158158
}
159159
],
160160
bands: []
@@ -219,7 +219,8 @@ describe('Explorer Visualization cartesian data source model', () => {
219219
data: [
220220
['first', 10],
221221
['second', 15]
222-
]
222+
],
223+
groupName: 'sum(foo)'
223224
}
224225
],
225226
bands: []

0 commit comments

Comments
 (0)