app/frontend/comments/comment.component.test.tsx in decidim-comments-0.16.1 vs app/frontend/comments/comment.component.test.tsx in decidim-comments-0.17.0
- old
+ new
@@ -96,21 +96,21 @@
describe("when the author's account has been deleted", () => {
beforeEach(() => {
comment.author.deleted = true;
});
- it("should render 'Deleted user' inside a badge", () => {
+ it("should render 'Deleted participant' inside a badge", () => {
const wrapper = shallow(
<Comment
comment={comment}
session={session}
rootCommentable={rootCommentable}
orderBy={orderBy}
/>
);
expect(
wrapper.find("span.label.label--small.label--basic").text()
- ).toEqual("Deleted user");
+ ).toEqual("Deleted participant");
});
});
it("should render author's avatar as a image tag", () => {
const wrapper = shallow(