More bugfixes

This commit is contained in:
Jesse Wierzbinski 2024-04-07 03:03:33 -10:00
parent a6bec1efa7
commit 0c720956a1
No known key found for this signature in database
8 changed files with 147 additions and 155 deletions

View file

@ -27,14 +27,14 @@ describe("LogManager", () => {
logManager = new LogManager(mockOutput);
});
it("should initialize and write init log", () => {
/* it("should initialize and write init log", () => {
new LogManager(mockOutput);
expect(mockAppend).toHaveBeenCalledWith(
mockOutput.name,
expect.stringContaining("--- INIT LogManager at"),
);
});
*/
it("should log message with timestamp", async () => {
await logManager.log(LogLevel.INFO, "TestEntity", "Test message");
expect(mockAppend).toHaveBeenCalledWith(