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
!142
Resolve "Minor bug fixes"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Minor bug fixes"
175-minor-bug-fixes
into
dev
Overview
0
Commits
33
Pipelines
2
Changes
31
Merged
Albin Henriksson
requested to merge
175-minor-bug-fixes
into
dev
3 years ago
Overview
0
Commits
33
Pipelines
2
Changes
31
Expand
Closes
#175 (closed)
0
0
Merge request reports
Compare
dev
version 1
ece0650f
3 years ago
dev (base)
and
latest version
latest version
f1c6c1b0
33 commits,
3 years ago
version 1
ece0650f
32 commits,
3 years ago
31 files
+
230
−
226
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
31
Search (e.g. *.vue) (Ctrl+P)
client/src/actions/competitionLogin.test.ts
+
1
−
1
Options
@@ -62,7 +62,7 @@ it('dispatches correct action when failing to log in user', async () => {
console
.
log
=
jest
.
fn
()
const
errorMessage
=
'
getting teams failed
'
;(
mockedAxios
.
post
as
jest
.
Mock
).
mockImplementation
(()
=>
{
return
Promise
.
reject
({
response
:
{
data
:
errorMessage
}
})
return
Promise
.
reject
({
response
:
{
data
:
{
message
:
errorMessage
}
}
})
})
const
store
=
mockStore
({})
const
history
=
createMemoryHistory
()
Loading