Skip to content

Commit 49924ee

Browse files
committed
Removed not used Accessor type import.
1 parent d8bc348 commit 49924ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plugins/vis_types/xy/public/utils/accessors.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
getXAccessor,
1515
isPercentileIdEqualToSeriesId,
1616
} from './accessors';
17-
import { Accessor, AccessorFn, Datum } from '@elastic/charts';
17+
import { AccessorFn, Datum } from '@elastic/charts';
1818
import { KBN_FIELD_TYPES } from '@kbn/field-types';
1919
import { DatatableColumn } from '../../../../expressions';
2020

@@ -292,31 +292,31 @@ describe('getXAccessor', () => {
292292
});
293293

294294
describe('isPercentileIdEqualToSeriesId', () => {
295-
it('should be equal for plain column ids', () => {
295+
it('should be equal if applied to the plain columnId', () => {
296296
const seriesColumnId = 'col-0-1';
297297
const columnId = `${seriesColumnId}`;
298298

299299
const isEqual = isPercentileIdEqualToSeriesId(columnId, seriesColumnId);
300300
expect(isEqual).toBeTruthy();
301301
});
302302

303-
it('should be equal for column with percentile', () => {
303+
it('should be equal if applied to the column with percentile', () => {
304304
const seriesColumnId = '1';
305305
const columnId = `${seriesColumnId}.95`;
306306

307307
const isEqual = isPercentileIdEqualToSeriesId(columnId, seriesColumnId);
308308
expect(isEqual).toBeTruthy();
309309
});
310310

311-
it('should not be equal for column with percentile equal to seriesColumnId', () => {
311+
it('should not be equal if applied to the column with percentile equal to seriesColumnId', () => {
312312
const seriesColumnId = '1';
313313
const columnId = `2.1`;
314314

315315
const isEqual = isPercentileIdEqualToSeriesId(columnId, seriesColumnId);
316316
expect(isEqual).toBeFalsy();
317317
});
318318

319-
it('should not be equal for column with percentile, where columnId contains seriesColumnId', () => {
319+
it('should not be equal if applied to the column with percentile, where columnId contains seriesColumnId', () => {
320320
const seriesColumnId = '1';
321321
const columnId = `${seriesColumnId}2.1`;
322322

0 commit comments

Comments
 (0)