summaryrefslogtreecommitdiff
path: root/spec/javascripts/vue_shared/components
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-04-19 17:01:45 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-04-19 17:01:45 +0100
commita8fb4865eb02747541b3f8cc089936d2e2953e16 (patch)
treea032380dec9896c93dca76d686ca8f06d4f4c76b /spec/javascripts/vue_shared/components
parenta96745d44097e5dc6b110556c2ebe2085ce05041 (diff)
downloadgitlab-ce-a8fb4865eb02747541b3f8cc089936d2e2953e16.tar.gz
Updates tests
Diffstat (limited to 'spec/javascripts/vue_shared/components')
-rw-r--r--spec/javascripts/vue_shared/components/commit_spec.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/javascripts/vue_shared/components/commit_spec.js b/spec/javascripts/vue_shared/components/commit_spec.js
index ed66361bfc3..9aea9de1ad6 100644
--- a/spec/javascripts/vue_shared/components/commit_spec.js
+++ b/spec/javascripts/vue_shared/components/commit_spec.js
@@ -55,7 +55,6 @@ describe('Commit component', () => {
path: '/jschatz1',
username: 'jschatz1',
},
- commitIconSvg: '<svg></svg>',
};
component = mountComponent(CommitComponent, props);
@@ -82,10 +81,6 @@ describe('Commit component', () => {
expect(component.$el.querySelector('.commit-sha').textContent).toContain(props.shortSha);
});
- it('should render the given commitIconSvg', () => {
- expect(component.$el.querySelector('.js-commit-icon').children).toContain('svg');
- });
-
describe('Given commit title and author props', () => {
it('should render a link to the author profile', () => {
expect(