From 0ef4e030507b9d667cb02cd8ea50f2970e0a4906 Mon Sep 17 00:00:00 2001 From: nobkd <44443899+nobkd@users.noreply.github.com> Date: Tue, 4 Apr 2023 16:15:35 +0200 Subject: [PATCH] chore: formatting --- test/bg/action.test.ts | 4 +--- test/map/utils/zoom.test.ts | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/test/bg/action.test.ts b/test/bg/action.test.ts index 8094e34..4c69257 100644 --- a/test/bg/action.test.ts +++ b/test/bg/action.test.ts @@ -1,5 +1,3 @@ import { describe, it } from 'vitest'; -describe.concurrent('', () => { - -}); +describe.concurrent('', () => {}); diff --git a/test/map/utils/zoom.test.ts b/test/map/utils/zoom.test.ts index 1abd25b..2f7bb79 100644 --- a/test/map/utils/zoom.test.ts +++ b/test/map/utils/zoom.test.ts @@ -2,16 +2,16 @@ import { describe, it } from 'vitest'; import { getMapZoom } from '../../../src/map/utils/zoom'; describe.concurrent('', () => { - it('zoom > 19', ({expect}) => { + it('zoom > 19', ({ expect }) => { const res = getMapZoom(1); - + expect(res).toBeTypeOf('number'); expect(res).toBe(19); }); - it('zoom < 0', ({expect}) => { + it('zoom < 0', ({ expect }) => { const res = getMapZoom(100000000); - + expect(res).toBeTypeOf('number'); expect(res).toBe(0); });