@@ -4,12 +4,12 @@ import sortMemberByStatus from "../utils/sortMemberByStatus";
4
4
describe ( "sortMemberByStatus test" , ( ) => {
5
5
it ( "on, away, off 순 정렬 테스트" , ( ) => {
6
6
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" } ,
13
13
] ;
14
14
15
15
const sortedMemberIdList = memberList
0 commit comments