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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8cf0f793
Commit
8cf0f793
authored
Dec 17, 2020
by
Nathan Friend
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xanf/remove-useless-tests' into 'master'
Remove useless tests See merge request gitlab-org/gitlab!50111
parents
17a09f96
e129a9de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
spec/frontend/issue_show/components/app_spec.js
spec/frontend/issue_show/components/app_spec.js
+0
-7
spec/frontend/sentry_error_stack_trace/components/sentry_error_stack_trace_spec.js
...r_stack_trace/components/sentry_error_stack_trace_spec.js
+0
-5
No files found.
spec/frontend/issue_show/components/app_spec.js
View file @
8cf0f793
...
@@ -507,13 +507,6 @@ describe('Issuable output', () => {
...
@@ -507,13 +507,6 @@ describe('Issuable output', () => {
expect
(
wrapper
.
vm
.
issueChanged
).
toBe
(
false
);
expect
(
wrapper
.
vm
.
issueChanged
).
toBe
(
false
);
});
});
it
(
'
returns false when `initialTitleText` is null and `formState.title` is empty string
'
,
()
=>
{
wrapper
.
vm
.
store
.
formState
.
title
=
''
;
wrapper
.
setProps
({
initialTitleText
:
null
});
expect
(
wrapper
.
vm
.
issueChanged
).
toBe
(
false
);
});
it
(
'
returns true when description is changed
'
,
()
=>
{
it
(
'
returns true when description is changed
'
,
()
=>
{
wrapper
.
vm
.
store
.
formState
.
description
=
'
RandomText
'
;
wrapper
.
vm
.
store
.
formState
.
description
=
'
RandomText
'
;
...
...
spec/frontend/sentry_error_stack_trace/components/sentry_error_stack_trace_spec.js
View file @
8cf0f793
...
@@ -78,10 +78,5 @@ describe('Sentry Error Stack Trace', () => {
...
@@ -78,10 +78,5 @@ describe('Sentry Error Stack Trace', () => {
expect
(
wrapper
.
find
(
GlLoadingIcon
).
exists
()).
toBe
(
false
);
expect
(
wrapper
.
find
(
GlLoadingIcon
).
exists
()).
toBe
(
false
);
expect
(
wrapper
.
find
(
Stacktrace
).
exists
()).
toBe
(
true
);
expect
(
wrapper
.
find
(
Stacktrace
).
exists
()).
toBe
(
true
);
});
});
it
(
'
should not show stacktrace if it does not exist
'
,
()
=>
{
expect
(
wrapper
.
find
(
GlLoadingIcon
).
exists
()).
toBe
(
false
);
expect
(
wrapper
.
find
(
Stacktrace
).
exists
()).
toBe
(
false
);
});
});
});
});
});
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