Skip to content

Commit

Permalink
Tweak test output
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Kerr committed Aug 24, 2018
1 parent f1f366a commit b418631
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/cli/ui/ConsoleMessageClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ describe("message formatting", () => {
const subject = new ConsoleMessageClient("general", async s => { output = output + s; }, {} as any);

await subject.addressChannels({ text: "I am safe", attachments: [suspiciousAttachment] }, "general");
assert(output.includes("WhereAmI"), "It's OK if it didn't render it in markdown, but it should display the whole attachment");
process.stdout.write(output);
assert(output.includes("WhereAmI"), "it should display the whole attachment");
});

it("render multi line markdown correct", async () => {
Expand All @@ -62,7 +61,6 @@ bold text**`;
await subject.addressChannels({ text }, "general");
assert(output.includes(`test some
bold text`));
process.stdout.write(output);
});

});

0 comments on commit b418631

Please sign in to comment.