Commit 81bff65f authored by Filipa Lacerda's avatar Filipa Lacerda

Adds MR reference in job sidebar

In the refactor the `!` reference was missed
This commit adds it back and adds coverage for it.
parent 2243e4d4
......@@ -46,7 +46,7 @@
v-if="mergeRequest"
:href="mergeRequest.path"
class="js-link-commit link-commit"
>{{ mergeRequest.iid }}</a>
>!{{ mergeRequest.iid }}</a>
</p>
<p class="build-light-text append-bottom-0">
......
......@@ -56,7 +56,7 @@ describe('Commit block', () => {
props.mergeRequest.path,
);
expect(vm.$el.querySelector('.js-link-commit').textContent.trim()).toEqual(
props.mergeRequest.iid,
`!${props.mergeRequest.iid}`,
);
});
});
......
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