From 2e42ed1bc42e877bf61104eeb8d8cbe65f0bac54 Mon Sep 17 00:00:00 2001 From: Erik Taubeneck Date: Mon, 17 Jun 2024 21:07:03 -0700 Subject: [PATCH] dont throw error in test afterAll function --- server/__tests__/api_update_query_status_route.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/__tests__/api_update_query_status_route.test.tsx b/server/__tests__/api_update_query_status_route.test.tsx index 05b7bb4..fd6c5a5 100644 --- a/server/__tests__/api_update_query_status_route.test.tsx +++ b/server/__tests__/api_update_query_status_route.test.tsx @@ -15,7 +15,7 @@ describe("POST updateStatus API Route Integration Test", () => { .eq("query_uuid", testQueryUUID); if (error) { - throw error; + console.error("Cleanup database failed:", error); } });