Skip to content
Snippets Groups Projects
Commit 7ea23de0 authored by 세현 임's avatar 세현 임
Browse files

[#%{iid}] 간단한 주석수정

parents 3ba2820f ab57d120
No related branches found
No related tags found
1 merge request!31Develop
...@@ -56,12 +56,8 @@ describe('Friend Service', () => { ...@@ -56,12 +56,8 @@ describe('Friend Service', () => {
}); });
test('should throw error when sending duplicate friend request', async () => { test('should throw error when sending duplicate friend request', async () => {
// Alice sends a friend request to Bob
await friendService.sendFriendRequest(1, 2); await friendService.sendFriendRequest(1, 2);
// Bob accepts Alice's request
await friendService.acceptFriendRequest(2, 1); 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'); 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