From 0ed52b4242b8ad391e591283f2ae4931766516c0 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 5 Feb 2023 22:52:47 +0000 Subject: [PATCH] imports cleanup --- scripts/favicon.ts | 2 +- tests/jest.setup.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/favicon.ts b/scripts/favicon.ts index c6e1044..b79fd4e 100644 --- a/scripts/favicon.ts +++ b/scripts/favicon.ts @@ -1,5 +1,5 @@ -import path from 'path' import fs from 'fs' +import path from 'path' import sharp from 'sharp' import ico from 'sharp-ico' diff --git a/tests/jest.setup.tsx b/tests/jest.setup.tsx index 59f450b..23d7d86 100644 --- a/tests/jest.setup.tsx +++ b/tests/jest.setup.tsx @@ -1,10 +1,8 @@ +import { jest } from '@jest/globals' import '@testing-library/jest-dom/extend-expect' import 'jest-canvas-mock' -import { jest } from '@jest/globals' -import { useLocation } from '../src/hooks/useLocation' -import framer from 'framer-motion' -import { dataLocation } from './__fixtures__/location' import giphy from './__fixtures__/giphy.json' +import { dataLocation } from './__fixtures__/location' import './__mocks__/matchMedia' jest.mock('next/router', () => ({