From aa048a0db9b637f1d81a9065bfa0ea435aee16aa Mon Sep 17 00:00:00 2001 From: Ksinia Date: Mon, 9 Nov 2020 12:21:08 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Pavel Mineev --- .../comment-form__subscribe-by-rss.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/comment-form/__subscribe-by-rss/comment-form__subscribe-by-rss.test.tsx b/frontend/app/components/comment-form/__subscribe-by-rss/comment-form__subscribe-by-rss.test.tsx index f1658e74..c23c852e 100644 --- a/frontend/app/components/comment-form/__subscribe-by-rss/comment-form__subscribe-by-rss.test.tsx +++ b/frontend/app/components/comment-form/__subscribe-by-rss/comment-form__subscribe-by-rss.test.tsx @@ -31,8 +31,8 @@ describe('', () => { expect(wrapper.find('.comment-form__rss-dropdown__link')).toHaveLength(3); }); - it('should have userId in Replies link', () => { - expect(wrapper.find('.comment-form__rss-dropdown__link').at(2).prop('href')).toEqual( + it('should have userId in replies link', () => { + expect(wrapper.find('.comment-form__rss-dropdown__link').at(2).prop('href')).toBe( createSubscribeUrl('reply', '&user=user-1') ); });