Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 5, 2023
1 parent f816e9a commit 74d4991
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
3 changes: 2 additions & 1 deletion src/map/utils/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { parsePB, tileTypes, type TileType } from './parsePB';
import { parseDMS } from './parseDMS';
import { getMapZoom } from './zoom';

export const nominatimQ: string = 'https://nominatim.openstreetmap.org/search/?limit=1&format=json&q=';
export const nominatimQ: string =
'https://nominatim.openstreetmap.org/search/?limit=1&format=json&q=';
const cidMatch: RegExp = /^0x[\da-f]+:0x[\da-f]+$/i;
const dmsMatch: RegExp = /^\d{1,2}°\d{1,2}'\d{1,2}\.\d"(N|S) \d{1,2}°\d{1,2}'\d{1,2}\.\d"(E|W)$/i;

Expand Down
4 changes: 1 addition & 3 deletions test/bg/action.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { describe, it } from 'vitest';

describe.concurrent('', () => {
it('', ({ expect }) => {

});
it('', ({ expect }) => {});
});
4 changes: 1 addition & 3 deletions test/bg/bg.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { describe, it } from 'vitest';

describe.concurrent('', () => {
it('', ({ expect }) => {

});
it('', ({ expect }) => {});
});
4 changes: 1 addition & 3 deletions test/bg/utils/storage.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { describe, it } from 'vitest';

describe.concurrent('', () => {
it('', ({ expect }) => {

});
it('', ({ expect }) => {});
});
4 changes: 1 addition & 3 deletions test/map/map.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { describe, it } from 'vitest';

describe.concurrent('', () => {
it('', ({ expect }) => {

});
it('', ({ expect }) => {});
});
4 changes: 2 additions & 2 deletions test/map/utils/zoom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ describe.concurrent('', () => {
expect(res).toBe(0);
});

it('specific zoom', ({expect}) => {
it('specific zoom', ({ expect }) => {
const res = getMapZoom(1000);

expect(res).toBe(18.5);
})
});
});

0 comments on commit 74d4991

Please sign in to comment.