summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorNick Kipling <nkipling@gitlab.com>2019-07-24 19:38:39 +0100
committerNathan Friend <nathan@gitlab.com>2019-07-30 13:49:48 -0300
commita37d672ff5c4c102a5b507ad744919748cbdcb34 (patch)
tree32de62b55689bc1b26ed9063b8467dfa382846d0 /spec/javascripts
parentc2d1fbe507cc1732927ca7c656078cf47754ceeb (diff)
downloadgitlab-ce-a37d672ff5c4c102a5b507ad744919748cbdcb34.tar.gz
Applying feedback changes
Updated table registry to remove singleItemToBeDeleted Renamed usages of idx to index Tidied and simplified css styling Added clarification comment to test regex Updated pot file
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/registry/components/table_registry_spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/registry/components/table_registry_spec.js b/spec/javascripts/registry/components/table_registry_spec.js
index a96a505a3a4..2ca7aa30c0e 100644
--- a/spec/javascripts/registry/components/table_registry_spec.js
+++ b/spec/javascripts/registry/components/table_registry_spec.js
@@ -47,6 +47,7 @@ describe('table registry', () => {
const textRendered = vm.$el
.querySelector('.table tbody tr')
.textContent.trim()
+ // replace additional whitespace characters (e.g. new lines) with a single empty space
.replace(/\s\s+/g, ' ');
expect(textRendered).toContain(repoPropsData.list[0].tag);