fix: log dir tz format not working on some systems (#30324)

This commit is contained in:
Nerivec authored and GitHub committed 2025-12-23 17:45:04 +01:00
1 parent b10fa93700
commit 58d98c7263
2 files changed
+8 -2

No files matched your search

+1
View File
@@ -51,6 +51,7 @@ describe("Logger", () => {
it("Create log directory", () => {
const dirs = fs.readdirSync(dir.name);
expect(dirs.length).toBe(1);
expect(dirs[0]).toMatch(/^[0-9]{4}-[0-9]{2}-[0-9]{2}\.[0-9]{2}-[0-9]{2}-[0-9]{2}$/);
});
it("Should cleanup (default setting)", () => {