remove unnecassry ts-expect-error in kbn-es-query
This commit is contained in:
parent
70e1ffc7c5
commit
5cd4aafc8f
|
@ -109,7 +109,6 @@ describe('kuery functions', () => {
|
|||
const node = nodeTypes.function.buildNode('geoBoundingBox', 'geo', params);
|
||||
const result = geoBoundingBox.toElasticsearchQuery(node, indexPattern);
|
||||
|
||||
// @ts-expect-error @elastic/elasticsearch doesn't support ignore_unmapped in QueryDslGeoBoundingBoxQuery
|
||||
expect(result.geo_bounding_box!.ignore_unmapped).toBe(true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue