Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
3331a72b
Commit
3331a72b
authored
5 years ago
by
Art Lowel
Browse files
Options
Downloads
Patches
Plain Diff
clarify that this error is purposely thrown
parent
d5b2fbff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/shared/comcol-forms/comcol-form/comcol-form.component.spec.ts
+1
-1
1 addition, 1 deletion
...ed/comcol-forms/comcol-form/comcol-form.component.spec.ts
with
1 addition
and
1 deletion
src/app/shared/comcol-forms/comcol-form/comcol-form.component.spec.ts
+
1
−
1
View file @
3331a72b
...
...
@@ -239,7 +239,7 @@ describe('ComColFormComponent', () => {
});
describe
(
'
when dsoService.deleteLogo returns an error response
'
,
()
=>
{
const
response
=
new
ErrorResponse
(
new
RequestError
(
'
errorMessage
'
));
const
response
=
new
ErrorResponse
(
new
RequestError
(
'
this error was purposely thrown, to test error notifications
'
));
beforeEach
(()
=>
{
spyOn
(
dsoService
,
'
deleteLogo
'
).
and
.
returnValue
(
observableOf
(
response
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment