refactor logger configuration and clean up test imports
This commit is contained in:
@@ -9,14 +9,6 @@ const logLevels = {
|
||||
debug: 4,
|
||||
};
|
||||
|
||||
const logColors = {
|
||||
error: "red",
|
||||
warn: "yellow",
|
||||
info: "green",
|
||||
http: "magenta",
|
||||
debug: "blue",
|
||||
};
|
||||
|
||||
const logFormat = winston.format.combine(
|
||||
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
|
||||
winston.format.errors({ stack: true }),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { describe, it, expect, vi, beforeEach, afterEach, Mocked } from "vitest";
|
||||
import { describe, it, expect, vi, beforeEach, Mocked } from "vitest";
|
||||
|
||||
import type { IncomingMessage } from "node:http";
|
||||
import { verifyClient } from "../../src/utils/verifyClient";
|
||||
|
||||
Reference in New Issue
Block a user