Unit Testing

Guides writing and maintaining Vitest unit tests for the Kubernetes Dashboard extension's backend, webview, and channels packages. Covers mocking @podman-desktop/api, @kubernetes/client-node, Inversify DI, RPC clients, Svelte components, and state objects. Triggers when creating or modifying .spec.ts files, fixing Vitest failures, or adding test coverage.

podman-desktop Updated 8.2k repo stars
Selkie on boat

File contents

podman-desktop/extension-kubernetes-dashboard commit 523f3f8296

Frequently asked questions

npx get-skill add podman-desktop/unit-testing