feat: #7103 created test for VnSearchbar #1256

Open
provira wants to merge 10 commits from 7103-testVnSearchbar into dev
Member
No description provided.
provira added 1 commit 2025-01-21 08:46:10 +00:00
provira added 1 commit 2025-01-21 08:46:14 +00:00
gitea/salix-front/pipeline/pr-dev This commit looks good Details
df403e35e6
Merge branch 'dev' into 7103-testVnSearchbar
provira requested review from jsegarra 2025-01-21 08:46:18 +00:00
jsegarra requested changes 2025-01-21 13:05:17 +00:00
jsegarra left a comment
Member

En general evitar repetir valores lietrales iguales

En general evitar repetir valores lietrales iguales
@ -0,0 +2,4 @@
import { createWrapper } from 'app/test/vitest/helper';
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
describe('VnSearchbar - Functions', () => {
Member

porque functions?

porque functions?
provira marked this conversation as resolved
@ -0,0 +21,4 @@
it('search resets pagination and applies filter', async () => {
const resetPaginationSpy = vi.spyOn(vm.arrayData, 'resetPagination').mockImplementation(() => {});
const applyFilterSpy = vi.spyOn(vm.arrayData, 'applyFilter').mockImplementation(() => Promise.resolve());
Member

Promise.resolve(), vacio?

Promise.resolve(), vacio?
provira marked this conversation as resolved
provira added 2 commits 2025-01-21 13:41:45 +00:00
provira added 1 commit 2025-01-21 13:41:47 +00:00
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details
1f5823536f
Merge branch 'dev' into 7103-testVnSearchbar
provira added 1 commit 2025-01-21 13:50:40 +00:00
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details
247701125c
Merge branch 'dev' into 7103-testVnSearchbar
provira added 1 commit 2025-01-22 06:29:55 +00:00
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details
4f31e7c553
Merge branch 'dev' into 7103-testVnSearchbar
provira added 3 commits 2025-01-22 06:30:50 +00:00
provira requested review from jsegarra 2025-01-22 06:35:58 +00:00
All checks were successful
gitea/salix-front/pipeline/pr-dev This commit looks good
Required
Details
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix-front#1256
No description provided.