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
8f3e85f9
Commit
8f3e85f9
authored
May 03, 2021
by
graham.smith
Browse files
fix vue prop warning
parent
6b4b6a7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
tests/unit/components/Training/TrainingAttendance.spec.js
tests/unit/components/Training/TrainingAttendance.spec.js
+1
-4
No files found.
tests/unit/components/Training/TrainingAttendance.spec.js
View file @
8f3e85f9
...
@@ -548,10 +548,7 @@ describe("TrainingAttendance", () => {
...
@@ -548,10 +548,7 @@ describe("TrainingAttendance", () => {
wrapper
.
vm
.
fetchDebounced
=
jest
.
fn
();
wrapper
.
vm
.
fetchDebounced
=
jest
.
fn
();
// trigger the watch for wrapper.vm.options
// trigger the watch for wrapper.vm.options
const
mockOptions
=
2
;
await
wrapper
.
setProps
({
reload
:
1
});
wrapper
.
vm
.
reload
=
mockOptions
;
await
wrapper
.
vm
.
$nextTick
();
expect
(
wrapper
.
vm
.
fetchDebounced
).
toHaveBeenCalledTimes
(
1
);
expect
(
wrapper
.
vm
.
fetchDebounced
).
toHaveBeenCalledTimes
(
1
);
});
});
...
...
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