diff --git a/packages/backend/src/controllers/api/v1/connections/reset-connection.test.js b/packages/backend/src/controllers/api/v1/connections/reset-connection.test.js index e2d5ecb2..ba4caaf9 100644 --- a/packages/backend/src/controllers/api/v1/connections/reset-connection.test.js +++ b/packages/backend/src/controllers/api/v1/connections/reset-connection.test.js @@ -53,7 +53,10 @@ describe('POST /api/v1/connections/:connectionId/reset', () => { }, }); - expect(response.body).toMatchObject(expectedPayload); + expect(response.body).toStrictEqual(expectedPayload); + expect(refetchedCurrentUserConnection.formattedData).toStrictEqual( + expectedPayload.data.formattedData + ); }); it('should return not found response for another user', async () => {