Skip to content
Snippets Groups Projects
Commit a727a136 authored by Phil Hughes's avatar Phil Hughes
Browse files

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

Improve text for codeclimate report

Closes #2951

See merge request !2493
parents cf780eed 75bb63eb
No related branches found
No related tags found
2 merge requests!2536Resolve "Trial and license purchases inside GitLab EE",!2493Improve text for codeclimate report
Pipeline #
Loading
Loading
@@ -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)}`;
Loading
Loading
Loading
Loading
@@ -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);
});
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment