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();