Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta committed Sep 24, 2024
1 parent b21d2f6 commit 74f9ffd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/layers/src/geojson-layer/geojson-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {ALL_FIELD_TYPES} from '@kepler.gl/constants';
import {LayerColumns} from '@kepler.gl/types';
import {KeplerTable} from '@kepler.gl/table';

import {LayerBaseConfig} from '../base-layer';
import {GeojsonLayerMetaProps, assignPointPairToLayerColumn} from '../layer-utils';
import {LayerBaseConfig} from '../base-layer';

Expand Down
2 changes: 1 addition & 1 deletion test/browser-headless/component/map-container-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ test('MapContainerFactory - _renderDeckOverlay', t => {
events: [{type: 'mousemove', x: 200, y: 200}, {wait: 50}],
onBeforeEvents,
// eslint-disable-next-line max-statements
onAfterEvents: ({layers}) => {
onAfterEvents: () => {
assert.is(hoverEvents.length, 1, 'onHover is called');
assert.is(hoverEvents[0].info.index, 15, 'object is picked');
assert.is(hoverEvents[0].info.picked, true, 'object is picked');
Expand Down
6 changes: 1 addition & 5 deletions test/browser/layer-tests/arc-layer-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ import {
preparedFilterDomain0,
arcLayerMeta
} from 'test/helpers/layer-utils';
import testArcData, {
arcFromHex,
arcFromNeighbor,
dataId as ArcDataId
} from 'test/fixtures/test-arc-data';
import testArcData, {arcFromHex, arcFromNeighbor} from 'test/fixtures/test-arc-data';
import {StateWArcNeighbors} from 'test/helpers/mock-state';
import {PROJECTED_PIXEL_SIZE_MULTIPLIER} from '@kepler.gl/constants';
import {KeplerGlLayers} from '@kepler.gl/layers';
Expand Down
2 changes: 1 addition & 1 deletion test/browser/layer-tests/point-layer-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
pointLayerMeta,
fieldDomain
} from 'test/helpers/layer-utils';
import testArcData, {pointFromNeighbor, dataId as ArcDataId} from 'test/fixtures/test-arc-data';
import testArcData, {pointFromNeighbor} from 'test/fixtures/test-arc-data';
import {StateWArcNeighbors} from 'test/helpers/mock-state';
import {copyTableAndUpdate} from '@kepler.gl/table';
import {KeplerGlLayers} from '@kepler.gl/layers';
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/comparison-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export function cmpDatasets(t, expectedDatasets, actualDatasets) {
export function assertDatasetIsTable(t, dataset) {
t.ok(dataset instanceof KeplerTable, `${dataset.label || 'dataset'} should be a KeplerTable`);
}
export function cmpColumns(t, expectedColumns, actualColumns, layerName, opt = {}) {
export function cmpColumns(t, expectedColumns, actualColumns, layerName) {
cmpObjectKeys(t, expectedColumns, actualColumns, `${layerName}.config.columns`);

Object.keys(expectedColumns).forEach(key => {
Expand Down

0 comments on commit 74f9ffd

Please sign in to comment.