Skip to content

test: add tests for DesktopController - #3006

Merged
jelveh merged 2 commits into
mainfrom
DS/2970
May 8, 2026
Merged

test: add tests for DesktopController#3006
jelveh merged 2 commits into
mainfrom
DS/2970

Conversation

@Salazareo

Copy link
Copy Markdown
Member

Covers /set-desktop-bg (partial updates, null clearing, type validation), /update-taskbar-items (JSON serialization), /set_layout (layout allowlist, ownership gate, path/uuid resolution), and /set_sort_by (sort_by/sort_order allowlists, default ordering). Routes are collected via PuterRouter and driven with stub stores returning prefab fsentry rows.

Closes #2970

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
馃數 Lines 31.33%
猬嗭笍 +0.36%
5507 / 17572
馃數 Statements 30.57%
猬嗭笍 +0.35%
5828 / 19062
馃數 Functions 33.07%
猬嗭笍 +0.33%
988 / 2987
馃數 Branches 20.24%
猬嗭笍 +0.39%
2840 / 14030
File CoverageNo changed files found.
Generated in workflow #59 for commit 23d2e92 by the Vitest Coverage Report Action

Covers /set-desktop-bg (partial updates, null clearing, type validation),
/update-taskbar-items (JSON serialization), /set_layout (layout
allowlist, ownership gate, path/uuid resolution), and /set_sort_by
(sort_by/sort_order allowlists, default ordering). Routes are
collected via PuterRouter and driven with stub stores returning
prefab fsentry rows.

Closes #2970
@jelveh
jelveh merged commit 9a7d3ba into main May 8, 2026
4 checks passed
@jelveh
jelveh deleted the DS/2970 branch May 8, 2026 04:45
junphine pushed a commit to junphine/puter that referenced this pull request May 21, 2026
Covers /set-desktop-bg (partial updates, null clearing, type validation),
/update-taskbar-items (JSON serialization), /set_layout (layout
allowlist, ownership gate, path/uuid resolution), and /set_sort_by
(sort_by/sort_order allowlists, default ordering). Routes are
collected via PuterRouter and driven with stub stores returning
prefab fsentry rows.

Closes HeyPuter#2970
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tests] Add tests for DesktopController

2 participants