Commit e5deffc4 authored by Tom Quirk's avatar Tom Quirk

Re-add js-user-link to design note

parent 6fe83a71
......@@ -102,6 +102,7 @@ export default {
<gl-link
v-once
:href="author.webUrl"
class="js-user-link"
data-testid="user-link"
:data-user-id="authorId"
:data-username="author.username"
......
......@@ -24,6 +24,7 @@ exports[`Design note component should match the snapshot 1`] = `
>
<div>
<gl-link-stub
class="js-user-link"
data-testid="user-link"
data-user-id="1"
data-username="foo-bar"
......
......@@ -41,7 +41,7 @@ describe('Shortcuts', () => {
).toHaveBeenCalled();
});
it('focues preview button inside edit comment form', () => {
it('focuses preview button inside edit comment form', () => {
document.querySelector('.js-note-edit').click();
Shortcuts.toggleMarkdownPreview(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment