feat(ContainerRegistry): start container event listener #712
Annotations
2 errors
Run unit tests:
packages/backend/src/registries/ContainerRegistry.ts#L33
Error: [vitest] No "EventEmitter" export is defined on the "@podman-desktop/api" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@podman-desktop/api", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ContainerRegistry.<instance_members_initializer> src/registries/ContainerRegistry.ts:33:66
❯ new ContainerRegistry src/registries/ContainerRegistry.ts:29:8
❯ Studio.activate src/studio.ts:110:31
❯ src/studio.spec.ts:91:3
|
Run unit tests
Process completed with exit code 1.
|
Loading