Skip to content

Commit 9dc8aec

Browse files
committed
fix jest test and functional test
1 parent 5ade198 commit 9dc8aec

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ export class HeatmapLayer extends AbstractLayer {
7979
return this._getHeatmapLayerId() === mbLayerId;
8080
}
8181

82+
ownsMbSourceId(mbSourceId: string) {
83+
return this.getId() === mbSourceId;
84+
}
85+
8286
async syncData(syncContext: DataRequestContext) {
8387
if (this.isLoadingBounds()) {
8488
return;

x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ describe('createLayerDescriptor', () => {
176176
__dataRequests: [],
177177
alpha: 0.75,
178178
id: '12345',
179-
joins: [],
180179
label: '[Performance] Duration',
181180
maxZoom: 24,
182181
minZoom: 0,

0 commit comments

Comments
 (0)