UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
P
Party Bus
Launchboard
launchboard-fe
Commits
c15724c2
Commit
c15724c2
authored
Oct 16, 2020
by
jtwidt
Browse files
added unit test for coverage
parent
368c85dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tests/unit/views/Resources.spec.js
tests/unit/views/Resources.spec.js
+14
-0
No files found.
tests/unit/views/Resources.spec.js
0 → 100644
View file @
c15724c2
import
{
mount
}
from
"
@vue/test-utils
"
;
import
Resources
from
"
@/views/Resources.vue
"
;
describe
(
"
Resources
"
,
()
=>
{
it
(
"
should have a variable called training
"
,
()
=>
{
const
wrapper
=
mount
(
Resources
);
expect
(
wrapper
.
find
(
"
.training
"
));
});
it
(
"
should have a variable called learning
"
,
()
=>
{
const
wrapper
=
mount
(
Resources
);
expect
(
wrapper
.
find
(
"
.learning
"
));
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment