refactor: Use toStrictEqual instead of toEqual for tests

This commit is contained in:
Faruk AYDIN
2024-10-25 12:33:39 +02:00
parent 7a437660d1
commit 2e5b44c424
82 changed files with 116 additions and 112 deletions

View File

@@ -41,7 +41,7 @@ describe('GET /api/v1/flows/:flowId', () => {
actionStep,
]);
expect(response.body).toEqual(expectedPayload);
expect(response.body).toStrictEqual(expectedPayload);
});
it('should return the flow data of another user', async () => {
@@ -67,7 +67,7 @@ describe('GET /api/v1/flows/:flowId', () => {
actionStep,
]);
expect(response.body).toEqual(expectedPayload);
expect(response.body).toStrictEqual(expectedPayload);
});
it('should return not found response for not existing flow UUID', async () => {