* 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>
the namespace was temporary but now that we have external extensions that
should build upon it, make it using a good external name
fixes https://github.com/containers/podman-desktop/issues/1625
Change-Id: I70c7ea1c6a00de791133505366ce9bf47ce11704
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
THis module is only a runtime module so we need to fake the resolution for vitest
Change-Id: Ibcd1b23c6fe263a57de59f66dc240a9cd959e278
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Signed-off-by: Florent Benoit <fbenoit@redhat.com>