UNCLASSIFIED

Commit ecf2524c authored by Keith Becker's avatar Keith Becker
Browse files

refactor

parent d8056a03
...@@ -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);
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment