Fix test for Replies link
This commit is contained in:
+3
-3
@@ -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')
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user