Skip to content

Commit

Permalink
Fix linting (#45)
Browse files Browse the repository at this point in the history
* Fix linting

* Fix linting
  • Loading branch information
martinRenou authored Jul 11, 2024
1 parent 6fba146 commit 9d538db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 4 additions & 5 deletions packages/base/src/mainview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,11 @@ export class MainView extends React.Component<IProps, IStates> {
if (this.divRef.current) {
this._Map = new MapLibre.Map({
container: this.divRef.current
})
.addControl(
}).addControl(
new MapLibre.NavigationControl({
visualizePitch: true,
showZoom: true,
showCompass: true
visualizePitch: true,
showZoom: true,
showCompass: true
})
);

Expand Down
5 changes: 3 additions & 2 deletions ui-tests/tests/geojson-layers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ test.beforeAll(async ({ request }) => {
});

test.describe('#geoJSONLayer', () => {

test.beforeEach(async ({ request, tmpPath }) => {
const content = galata.newContentsHelper(request);
await content.uploadFile(
Expand All @@ -54,7 +53,9 @@ test.describe('#geoJSONLayer', () => {

test('Add a GeoJSON layer', async ({ page, tmpPath }) => {
const panel = await openGIS(page, tmpPath, FILENAME);
const button = panel?.locator('jp-button[data-command="jupytergis:newGeoJSONLayer"]');
const button = panel?.locator(
'jp-button[data-command="jupytergis:newGeoJSONLayer"]'
);
const main = panel?.locator('.jGIS-Mainview');

await button?.click();
Expand Down

0 comments on commit 9d538db

Please sign in to comment.