test: improve test
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-09-13 22:19:43 +02:00
parent 82da5c2228
commit 0a86b27f53
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ describe('VnSelect NOT CALL FETCH URL', () => {
vm.selectValue = ''; vm.selectValue = '';
expect(vm.options.length).toEqual(0); expect(vm.options.length).toEqual(0);
expect(vm.useURL).toBeTruthy(); expect(vm.useURL).toBeTruthy();
expect(vm.myOptions.length).toEqual(3); expect(vm.myOptions.length).toEqual(0);
const canceller = new AbortController(); const canceller = new AbortController();
expect(axios.get).not.toHaveBeenCalledWith('Suppliers', { expect(axios.get).not.toHaveBeenCalledWith('Suppliers', {