added more user test, improved validation, and added validation to login screen

This commit is contained in:
subnub
2025-02-24 02:14:57 -05:00
parent 1c7315b443
commit 56f0fe934f
8 changed files with 316 additions and 19 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ describe("File Controller", () => {
.set("Cookie", authToken)
.send({
id: file._id,
title: "a" * 257,
title: "a".repeat(257),
});
expect(fileResponse.status).toBe(400);