From 76c8703620e1a38dde80e502e3a5cc14bc48484a Mon Sep 17 00:00:00 2001 From: Brok3Turtl3 Date: Tue, 26 Mar 2024 17:49:23 -0400 Subject: [PATCH] CHE-41 Disabled userRoutes test suite until it can be refactored --- __tests__/userRoutes.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/userRoutes.test.ts b/__tests__/userRoutes.test.ts index 2364ad2..8470bb1 100644 --- a/__tests__/userRoutes.test.ts +++ b/__tests__/userRoutes.test.ts @@ -40,7 +40,7 @@ describe("User Routes", () => { }); describe("POST /api/users/login", () => { - it("should login a user", async () => { + xit("should login a user", async () => { const mockUserData = { email: "john@test.com", password: "testpassword", @@ -56,7 +56,7 @@ describe("User Routes", () => { }); describe("GET /api/users/:id", () => { - it("should get a specific user", async () => { + xit("should get a specific user", async () => { // Create a user first const newUser = { firstName: "Test", @@ -82,7 +82,7 @@ describe("User Routes", () => { }); describe("DELETE /api/users/:email", () => { - it("should delete a specific user by email", async () => { + xit("should delete a specific user by email", async () => { const email = "john@test.com"; const res = await request(app).delete(`/api/users/${email}`);