From 64c6424ee32e5e2cffc1f3f529bae8dbd0e5d2a2 Mon Sep 17 00:00:00 2001 From: Sugui Date: Sun, 21 Apr 2024 12:53:04 +0200 Subject: [PATCH] Removed unused dependencies --- test/imageController.test.ts | 4 ++-- test/imageService.test.ts | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/test/imageController.test.ts b/test/imageController.test.ts index 0ac227b..4300ab3 100644 --- a/test/imageController.test.ts +++ b/test/imageController.test.ts @@ -1,7 +1,7 @@ -import { afterAll, afterEach, describe, expect, it, jest, mock, spyOn } from "bun:test"; +import { afterEach, describe, expect, it, jest, spyOn } from "bun:test"; import app from "src/app"; -import request from "supertest"; import * as imageService from "src/services/imageService"; +import request from "supertest"; afterEach(() => { jest.restoreAllMocks(); diff --git a/test/imageService.test.ts b/test/imageService.test.ts index dbcbc0f..460829e 100644 --- a/test/imageService.test.ts +++ b/test/imageService.test.ts @@ -1,11 +1,10 @@ -import { afterAll, afterEach, describe, expect, it, jest, mock, spyOn } from "bun:test"; +import { afterEach, describe, expect, it, jest, spyOn } from "bun:test"; +import app from "src/app"; +import * as botApiService from "src/services/botApiService"; +import * as gelbooruApiService from "src/services/gelbooruApiService"; +import * as imageService from "src/services/imageService"; import Image from "src/types/Image"; import request from "supertest"; -import * as gelbooruApiService from "src/services/gelbooruApiService"; -import * as botApiService from "src/services/botApiService"; -import * as imageService from "src/services/imageService"; -import app from "src/app"; -import { response } from "express"; afterEach(() => { jest.restoreAllMocks();