Fix test for Replies link

This commit is contained in:
Ksinia
2020-11-10 09:45:48 -06:00
committed by Umputun
parent e6aa4736ea
commit d87135a80a
@@ -31,9 +31,9 @@ describe('<SubscribeByRSS/>', () => {
expect(wrapper.find('.comment-form__rss-dropdown__link')).toHaveLength(3);
});
it('should have userId in site link', () => {
expect(wrapper.find('.comment-form__rss-dropdown__link').at(1).prop('href')).toEqual(
createSubscribeUrl('site', '&user=user-1')
it('should have userId in Replies link', () => {
expect(wrapper.find('.comment-form__rss-dropdown__link').at(2).prop('href')).toEqual(
createSubscribeUrl('reply', '&user=user-1')
);
});
});