Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boco-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
idatt2106_2022_02
boco-frontend
Commits
5516181f
Commit
5516181f
authored
2 years ago
by
Zara Mudassar
Browse files
Options
Downloads
Patches
Plain Diff
api tests for image methods
parent
ea67ee8c
No related branches found
No related tags found
1 merge request
!126
api tests for image methods
Pipeline
#181605
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/unit/api-mock-tests/apiutil-image-mock.spec.js
+1
-0
1 addition, 0 deletions
tests/unit/api-mock-tests/apiutil-image-mock.spec.js
with
1 addition
and
0 deletions
tests/unit/api-mock-tests/apiutil-image-moc.spec.js
→
tests/unit/api-mock-tests/apiutil-image-moc
k
.spec.js
+
1
−
0
View file @
5516181f
...
...
@@ -27,6 +27,7 @@ describe("testing mocking of apiutil.js image api calls", () => {
},
};
axios
.
post
.
mockImplementation
(()
=>
Promise
.
resolve
({
data
:
expectedResponse
})
);
...
...
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