Commit graph

1 commit

Author SHA1 Message Date
Florent BENOIT
1bc01dc186
refactor(mock): generate @podman-desktop/api mock from its definition (#15670)
* refactor(mock): generate @podman-desktop/api mock from its definition

instead of writing for each function and for each namespace the content
reuse the .d.ts definition and wire automatically vi.fn()

customize/override some classes implementation manually but most of it is generated

fixes https://github.com/podman-desktop/podman-desktop/issues/14493

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2026-01-30 14:45:47 +01:00