Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sparesti-frontend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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_2024_01
sparesti-frontend
Merge requests
!6
GenerateChallengesView
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
GenerateChallengesView
generate-saving-challenges-view
into
development
Overview
0
Commits
5
Pipelines
1
Changes
2
Merged
Maria Elizabeth Pauna Lane
requested to merge
generate-saving-challenges-view
into
development
8 months ago
Overview
0
Commits
5
Pipelines
1
Changes
2
Expand
Tests if GenerateChallengesView renders without crashing.
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
b15f0d76
5 commits,
8 months ago
2 files
+
48
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/views/__tests__/GenerateChallengesView.spec.js
0 → 100644
+
16
−
0
Options
import
{
mount
}
from
'
@vue/test-utils
'
import
{
describe
,
it
,
expect
}
from
'
vitest
'
import
GenerateChallengesView
from
'
@/views/GenerateChallengesView.vue
'
describe
(
'
Tests for GenerateChallengesView
'
,
()
=>
{
it
(
'
renders without crashing
'
,
()
=>
{
const
wrapper
=
mount
(
GenerateChallengesView
,
{
global
:
{
stubs
:
[
'
RouterLink
'
]
}
})
expect
(
wrapper
.
exists
()).
toBe
(
true
)
})
})
\ No newline at end of file
Loading