Apply suggestions from code review
Co-authored-by: Pavel Mineev <pavel@mineev.me>
This commit is contained in:
committed by
Umputun
co-authored by
Pavel Mineev
parent
d87135a80a
commit
aa048a0db9
+2
-2
@@ -31,8 +31,8 @@ describe('<SubscribeByRSS/>', () => {
|
||||
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')
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user