Skip to content
Extraits de code Groupes Projets
Valider 1022c943 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Fix formatting test

parent 174c3868
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -190,8 +190,8 @@ describe("DiscordMessageProcessor", () => {
msg.content = "Hello <:hello:3333333>";
const result = await processor.FormatMessage(msg);
Chai.assert.equal(result.body, "Hello :hello:");
Chai.assert.equal(result.formattedBody, "Hello <img alt=\"hello\" ti" +
"tle=\"hello\" height=\"32\" src=\"mxc://image\" />");
Chai.assert.equal(result.formattedBody, "Hello <img alt=\":hello:\" ti" +
"tle=\":hello:\" height=\"32\" src=\"mxc://image\" />");
});
});
describe("InsertChannelPills / HTML", () => {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter