feat: #7087 created CardSummary test #1197
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1197
Loading…
Reference in New Issue
No description provided.
Delete Branch "7087-testCardSummary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: feat: #7087 created CardSummary testto feat: #7087 created CardSummary test@ -0,0 +54,4 @@
it('should respond to prop changes and refetch data', async () => {
const fetchSpy = vi.spyOn(vm.arrayData, 'fetch');
await wrapper.setProps({ url: 'newUrl', filter: { key: 'newValue' } });
En esta linea en las dos ultimas lineas se repiten los valores.
Podemos hacer un cambio para que solo haya un newUrl y un newValue?
Propongo añadir un test para probar la linea 50
isSummary.value = String(route.path).endsWith('/summary');