Skip to content

Test cleanup #2115

@deboer-tim

Description

@deboer-tim

Is your feature related to a problem? Please describe

When taking a quick initial look at #2106 (vitest v4) I noticed several minor things that should be cleanup up in the tests:

  • Missing mock for getUidGid in Build.spec.ts causing test error output.
  • Missing mock for listVMs in CreateVM.spec.ts causing test error output.
  • window.ResizeObserver should be mocked once for the package, as Podman Desktop renderer does.
  • Incorrect beforeEach import in DiskImagesList.
  • Use of NodeJS types causes warning in VS Code.

Describe the solution you'd like

Fix these issues.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions