From 8650d91edb2a702553079d6689dc52e4cc9cf00d Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Tue, 29 Oct 2024 21:35:41 +0300 Subject: [PATCH] set up response status --- calendar.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar.test.js b/calendar.test.js index e0f27b4..980d34e 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -31,6 +31,8 @@ describe('Calendar Merging API', () => { }, ], }); + expect(response.status).toBe(200); + expect(response.body.url).toMatch(/calendar\/Date_Based_Calendar/); }) }); \ No newline at end of file