containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.67k stars 297 forks source link

Reduce renderer test output #5355

Closed deboer-tim closed 2 months ago

deboer-tim commented 9 months ago

Is your enhancement related to a problem? Please describe

While running yarn test:renderer I see the following output 14 times:

stderr | ../../VirtualConsole.<anonymous> (/Users/.../podman-desktop/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
    at module.exports (/Users/.../podman-desktop/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
    at HTMLCanvasElementImpl.getContext (/Users/.../podman-desktop/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
    at HTMLCanvasElement.getContext (/Users/.../podman-desktop/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
    at /Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/src/common/Color.ts:119:24
    at Object.call (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/src/common/Color.ts:112:1)
    at i (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/webpack/bootstrap:19:32)
    at Object.call (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/src/browser/renderer/dom/DomRendererRowFactory.ts:11:1)
    at i (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/webpack/bootstrap:19:32)
    at Object.call (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/src/browser/renderer/dom/DomRenderer.ts:6:1)
    at i (/Users/deboer/git/alternates/peter/podman-desktop/node_modules/xterm/lib/webpack:/xterm/webpack/bootstrap:19:32) undefined

Describe the solution you'd like

It would be nice to remove these, both to know our tests are working correctly and reduce the output so it's easier to find output from new tests failing.

Describe alternatives you've considered

No response

Additional context

No response

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] commented 2 months ago

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!