mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
rename src/common to src/utils
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import ResetDBState from "./reset-db-state";
|
||||
import CreateLogCtx from "../common/logger";
|
||||
import CreateLogCtx from "../utils/logger";
|
||||
import supertest from "supertest";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import supertest from "supertest";
|
||||
import CreateLogCtx from "../common/logger";
|
||||
import CreateLogCtx from "../utils/logger";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Response } from "node-fetch";
|
||||
import { NodeFetch } from "../common/fetch";
|
||||
import { NodeFetch } from "../utils/fetch";
|
||||
|
||||
export function MockFetch(data: Partial<Response>) {
|
||||
// We know! this is a mock function.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import db from "../external/mongo/db";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import CreateLogCtx from "../common/logger";
|
||||
import CreateLogCtx from "../utils/logger";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user