From ea9190062330274fdff22b1a3699cef5b82cdb1c Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 9 Jul 2020 14:20:26 +0200 Subject: [PATCH] [ML] Fix TS. --- .../{use_column_chart.test.tsx => use_column_chart.test.ts} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename x-pack/plugins/ml/public/application/components/data_grid/{use_column_chart.test.tsx => use_column_chart.test.ts} (92%) diff --git a/x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.tsx b/x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.ts similarity index 92% rename from x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.tsx rename to x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.ts index 77628e394bfeb..1b35ef238d09e 100644 --- a/x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.tsx +++ b/x-pack/plugins/ml/public/application/components/data_grid/use_column_chart.test.ts @@ -4,11 +4,9 @@ * you may not use this file except in compliance with the Elastic License. */ -import React from 'react'; - import { getFieldType } from './use_column_chart'; -describe('getFieldType', () => { +describe('getFieldType()', () => { it('should return the Kibana field type for a given EUI data grid schema', () => { expect(getFieldType('text')).toBe('string'); expect(getFieldType('datetime')).toBe('date');