Commit e312959
test(signers): update draggable stub for vuedraggable 4 slot API
The draggable stub must render the #item named slot (not the default
slot) to match vuedraggable 4's internal contract. Without this the
stub never renders any Signer children, making all rendering assertions
pass vacuously.
- Replace template '<div><slot /></div>' with a loop over modelValue
that yields '<slot name="item" :element :index />' per entry
- Add itemKey to accepted props (vuedraggable 4 requires it)
- Remove transition-group stub (no longer used in Signers.vue)
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 7aaf9eb commit e312959
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments