Skip to content

Commit a3f7a64

Browse files
fix: Corrige uma comparação de objetos
1 parent 91082ef commit a3f7a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api/comments/postComments.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test.describe("GoRest API Comments", () => {
3232

3333
const createdComment = await response.json();
3434

35-
expect(createdComment).toMatchObject(createdComment);
35+
expect(createdComment).toMatchObject(commentData);
3636

3737
const valid = ajv.validate(commentSchema, createdComment);
3838
expect(valid).toBe(true);

0 commit comments

Comments
 (0)