Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
a8fb4865
Commit
a8fb4865
authored
Apr 19, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates tests
parent
a96745d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
spec/javascripts/vue_shared/components/commit_spec.js
spec/javascripts/vue_shared/components/commit_spec.js
+0
-5
No files found.
spec/javascripts/vue_shared/components/commit_spec.js
View file @
a8fb4865
...
@@ -55,7 +55,6 @@ describe('Commit component', () => {
...
@@ -55,7 +55,6 @@ describe('Commit component', () => {
path
:
'
/jschatz1
'
,
path
:
'
/jschatz1
'
,
username
:
'
jschatz1
'
,
username
:
'
jschatz1
'
,
},
},
commitIconSvg
:
'
<svg></svg>
'
,
};
};
component
=
mountComponent
(
CommitComponent
,
props
);
component
=
mountComponent
(
CommitComponent
,
props
);
...
@@ -82,10 +81,6 @@ describe('Commit component', () => {
...
@@ -82,10 +81,6 @@ describe('Commit component', () => {
expect
(
component
.
$el
.
querySelector
(
'
.commit-sha
'
).
textContent
).
toContain
(
props
.
shortSha
);
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
'
,
()
=>
{
describe
(
'
Given commit title and author props
'
,
()
=>
{
it
(
'
should render a link to the author profile
'
,
()
=>
{
it
(
'
should render a link to the author profile
'
,
()
=>
{
expect
(
expect
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment