Skip to content
Snippets Groups Projects
Commit ab57d120 authored by tpgus2603's avatar tpgus2603
Browse files

refactor 주석 수정(#11)

parent c739b2c2
No related branches found
No related tags found
1 merge request!31Develop
......@@ -56,12 +56,8 @@ describe('Friend Service', () => {
});
test('should throw error when sending duplicate friend request', async () => {
// Alice sends a friend request to Bob
await friendService.sendFriendRequest(1, 2);
// Bob accepts Alice's request
await friendService.acceptFriendRequest(2, 1);
// Alice tries to send another friend request to Bob
await expect(friendService.sendFriendRequest(1, 2)).rejects.toThrow('Friend request already exists');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment