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 523f3f8 3.9 KB Updated

File contents

podman-desktop/extension-kubernetes-dashboard/tree/main/.agents/skills/unit-testing commit 523f3f8296

Frequently asked questions

npx skillmds@latest add podman-desktop/unit-testing