Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
web
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fitmin
web
Commits
cb997c38
Commit
cb997c38
authored
5 years ago
by
JunGu Kang
Browse files
Options
Downloads
Patches
Plain Diff
Remove Obsolete Test Code
parent
6b25fe8f
Branches
Branches containing commit
No related tags found
2 merge requests
!37
Deploy
,
!1
#1 Project Scaffold
Pipeline
#4057
passed
5 years ago
Stage: lint
Stage: test
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/unit/example.spec.js
+0
-13
0 additions, 13 deletions
tests/unit/example.spec.js
with
0 additions
and
13 deletions
tests/unit/example.spec.js
+
0
−
13
View file @
cb997c38
import
{
expect
}
from
'
chai
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
HelloWorld
from
'
@/components/HelloWorld.vue
'
;
describe
(
'
HelloWorld.vue
'
,
()
=>
{
it
(
'
renders props.msg when passed
'
,
()
=>
{
const
msg
=
'
new message
'
;
const
wrapper
=
shallowMount
(
HelloWorld
,
{
propsData
:
{
msg
},
});
expect
(
wrapper
.
text
()).
to
.
include
(
msg
);
});
});
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