cleanup unused libraries

This commit is contained in:
Alie 2024-04-17 20:04:18 +02:00
parent e472fe48b4
commit 1aacac9c41
2 changed files with 8 additions and 14 deletions

View File

@ -1,11 +1,6 @@
import { afterEach, describe, expect, it, mock, jest } from "bun:test"; import { afterEach, describe, expect, it, mock } from "bun:test";
import Image from "src/types/Image";
import ImageService from "src/services/ImageService";
import GelbooruApiResponse from "src/types/GelbooruServiceResponse";
import { BotApiResponse } from "src/types/BotApiResponse";
import fs from "node:fs";
import ImageController from "src/controllers/ImageController";
import app from "src/app"; import app from "src/app";
import ImageService from "src/services/ImageService";
import request from "supertest"; import request from "supertest";
const imageServiceOriginal = ImageService; const imageServiceOriginal = ImageService;

View File

@ -1,11 +1,10 @@
import { afterEach, describe, expect, it, mock, spyOn } from "bun:test"; import { afterEach, describe, expect, it, mock } from "bun:test";
import Image from "src/types/Image";
import ImageService from "src/services/ImageService";
import GelbooruApiResponse from "src/types/GelbooruServiceResponse";
import { BotApiResponse } from "src/types/BotApiResponse";
import GelbooruApiService from "src/services/GelbooruApiService";
import BotApiService from "src/services/BotApiService"; import BotApiService from "src/services/BotApiService";
import fs from "node:fs"; import GelbooruApiService from "src/services/GelbooruApiService";
import ImageService from "src/services/ImageService";
import { BotApiResponse } from "src/types/BotApiResponse";
import GelbooruApiResponse from "src/types/GelbooruServiceResponse";
import Image from "src/types/Image";
const imageServiceOriginal = ImageService; const imageServiceOriginal = ImageService;
const gelbooruApiServiceOriginal = GelbooruApiService; const gelbooruApiServiceOriginal = GelbooruApiService;