From 1dca2c65bd67b881a8161b045e5150f89839b992 Mon Sep 17 00:00:00 2001 From: Akalanka Perera Date: Sun, 10 Mar 2024 19:14:00 +0000 Subject: [PATCH] Feat!(mongoose-audit): initial release --- plugins/mongoose-audit/test/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mongoose-audit/test/index.test.js b/plugins/mongoose-audit/test/index.test.js index 5c53f51..b999a13 100644 --- a/plugins/mongoose-audit/test/index.test.js +++ b/plugins/mongoose-audit/test/index.test.js @@ -71,7 +71,7 @@ describe("audit", function () { const entry = audit[0]; expect(entry.changes["name"].to).toBe("Lucky"); expect(entry.changes["name"].type).toBe(AuditType.Add); - expect(entry.user).toBe("Unknown User") + expect(entry.user).toBe("Unknown") expect(entry.entity).toBe("Test") }) });