Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
bc458af611
commit
dd321370a3
1 changed files with 3 additions and 0 deletions
|
|
@ -307,6 +307,9 @@ describe('duplicateCheck.vue', () => {
|
||||||
expect(saveSession).toHaveBeenCalledTimes(1);
|
expect(saveSession).toHaveBeenCalledTimes(1);
|
||||||
expect(wrapper.vm.mainStore.loadSessionFromDuplicate).not.toHaveBeenCalled();
|
expect(wrapper.vm.mainStore.loadSessionFromDuplicate).not.toHaveBeenCalled();
|
||||||
expect(wrapper.vm.mainStore.getCoveragePolicyInfo).toHaveBeenCalledTimes(1);
|
expect(wrapper.vm.mainStore.getCoveragePolicyInfo).toHaveBeenCalledTimes(1);
|
||||||
|
expect(saveSession.mock.invocationCallOrder[0]).toBeLessThan(
|
||||||
|
wrapper.vm.mainStore.getCoveragePolicyInfo.mock.invocationCallOrder[0]
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Selected duplicate => load session called', async () => {
|
test('Selected duplicate => load session called', async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue