@@ -4,12 +4,12 @@ import sortMemberByStatus from "../utils/sortMemberByStatus";
44describe ( "sortMemberByStatus test" , ( ) => {
55 it ( "on, away, off 순 정렬 테스트" , ( ) => {
66 const memberList : LandingMemberDTO [ ] = [
7- { id : 1 , username : "" , imageUrl : "" , status : "off" } ,
8- { id : 2 , username : "" , imageUrl : "" , status : "on" } ,
9- { id : 3 , username : "" , imageUrl : "" , status : "away" } ,
10- { id : 4 , username : "" , imageUrl : "" , status : "on" } ,
11- { id : 5 , username : "" , imageUrl : "" , status : "off" } ,
12- { id : 6 , username : "" , imageUrl : "" , status : "away" } ,
7+ { id : 1 , username : "" , imageUrl : "" , status : "off" , role : "LEADER" } ,
8+ { id : 2 , username : "" , imageUrl : "" , status : "on" , role : "MEMBER" } ,
9+ { id : 3 , username : "" , imageUrl : "" , status : "away" , role : "MEMBER" } ,
10+ { id : 4 , username : "" , imageUrl : "" , status : "on" , role : "MEMBER" } ,
11+ { id : 5 , username : "" , imageUrl : "" , status : "off" , role : "MEMBER" } ,
12+ { id : 6 , username : "" , imageUrl : "" , status : "away" , role : "MEMBER" } ,
1313 ] ;
1414
1515 const sortedMemberIdList = memberList
0 commit comments