You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: rework on existing mention-each command (#76)
* feat: changing format of command
* refactor: formattingd
* feat: changed input argument
* feat: rework on existing code based on input
* fix:output for changing the input
* refactor: rework on test :(
* refactor:test constants to fixtures
* chore: linting
* feat:added comments
* chore: linting
constexpectedResponse=`${msgToBeSent}${usersWithMatchingRole} \n \`Disclaimer: Very soon all the users will be tagged individually in a separate(new) message!\``;
73
73
expect(response).toBe(expectedResponse);
74
74
});
75
75
76
-
it("should return message if displayType is list",()=>{
76
+
it("should return default string ",()=>{
77
+
constusersWithMatchingRole=[]asstring[];
77
78
constmsgToBeSent="hello";
78
-
79
-
constresponse=checkDisplayType({
80
-
displayType: "list",
81
-
msgToBeSent,
82
-
usersWithMatchingRole: [],
83
-
});
84
-
constexpectedResponse=`Coming soon. We are working on this feature. We feel sorry for not serving you what you expect this command to do for now.(T_T)`;
constexpectedResponse=`${returnString}${usersWithMatchingRole} \n \`Disclaimer: Very soon all the users will be tagged individually in a separate(new) message!\``;
0 commit comments