Commit a727a136 authored by Phil Hughes's avatar Phil Hughes

Merge branch '2951-codeclimate-report' into 'master'

Improve text for codeclimate report

Closes #2951

See merge request !2493
parents cf780eed 75bb63eb
......@@ -55,7 +55,7 @@ export default {
let text = [];
if (this.hasNoneIssues) {
text.push('No changes to code quality so far.');
text.push('No changes to code quality.');
} else if (this.hasIssues) {
if (newIssues.length) {
newIssuesText = ` degraded on ${newIssues.length} ${this.pointsText(newIssues)}`;
......
......@@ -162,7 +162,7 @@ describe('Merge Request Code Quality', () => {
setTimeout(() => {
expect(
vm.$el.querySelector('span:nth-child(2)').textContent.trim(),
).toEqual('No changes to code quality so far.');
).toEqual('No changes to code quality.');
done();
}, 0);
});
......
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