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
ecf2524c
Commit
ecf2524c
authored
May 04, 2021
by
Keith Becker
Browse files
refactor
parent
d8056a03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tests/unit/views/TrainingDetails.spec.js
tests/unit/views/TrainingDetails.spec.js
+6
-0
No files found.
tests/unit/views/TrainingDetails.spec.js
View file @
ecf2524c
...
@@ -62,6 +62,12 @@ describe("TrainingDetails", () => {
...
@@ -62,6 +62,12 @@ describe("TrainingDetails", () => {
});
});
expect
(
wrapper
.
vm
.
fetchingData
).
toBe
(
false
);
expect
(
wrapper
.
vm
.
fetchingData
).
toBe
(
false
);
await
flushPromises
();
await
flushPromises
();
wrapper
.
vm
.
$refs
.
trainingAttendance
=
{
fetchDebounced
:
jest
.
fn
(),
};
wrapper
.
vm
.
$refs
.
addStudentsToCourseDialog
=
{
fetchDebounced
:
jest
.
fn
(),
};
wrapper
.
vm
.
fetchDebounced
();
wrapper
.
vm
.
fetchDebounced
();
expect
(
wrapper
.
vm
.
fetchingData
).
toBe
(
true
);
expect
(
wrapper
.
vm
.
fetchingData
).
toBe
(
true
);
});
});
...
...
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