Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Merge requests
!91
Resolve "Upload pictures"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Upload pictures"
98-upload-pictures
into
dev
Overview
0
Commits
17
Pipelines
1
Changes
3
Merged
Josef Olsson
requested to merge
98-upload-pictures
into
dev
3 years ago
Overview
0
Commits
17
Pipelines
1
Changes
3
Expand
Closes
#98 (closed)
0
0
Merge request reports
Viewing commit
6f53a9b5
Prev
Next
Show latest version
3 files
+
9
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
6f53a9b5
Add api to paths
· 6f53a9b5
Josef Olsson
authored
3 years ago
client/src/pages/admin/competitions/CompetitionManager.test.tsx
+
1
−
1
Options
@@ -47,7 +47,7 @@ it('renders competition manager', () => {
}
;(
mockedAxios
.
get
as
jest
.
Mock
).
mockImplementation
((
path
:
string
,
params
?:
any
)
=>
{
if
(
path
===
'
/competitions/search
'
)
return
Promise
.
resolve
(
compRes
)
if
(
path
===
'
/
api/
competitions/search
'
)
return
Promise
.
resolve
(
compRes
)
else
return
Promise
.
resolve
(
cityRes
)
})
render
(
Loading