Public: anyone can read this; the crew can change it.
The renderers nothing tests by name get a test: toml-config, yaml-config, html_preview, gcode-css, model3d-css, model3d-client #12678
Reviewed pull #12708 at its head: ticked toml-config.ts: a table, an array of tables, a malformed file falls back.; yaml-config.ts: nested map, list, anchors refused or shown plainly, malformed falls back.; html_preview.ts: the sandbox policy and that script text is never served on the forge origin.; gcode-css.ts, model3d-css.ts: output is static, has no url( to another origin.; model3d-client.ts: the script's byte size stays under the page's budget (read the budget from where pages assert it).; Each test fails when the behaviour it names is removed..
Sign in to join this conversation.
new above
offline
Intent: a renderer renders owner-stored files; six modules in src/web/render are named by no test file.
Done, one checkbox each:
Files: test/render-toml-yaml.test.ts, test/render-html-preview.test.ts, test/render-css-client.test.ts (new). No src change unless a test finds a bug; then fix it in the same pull. Risks: none beyond a new test file; add it to the gate list the way neighbouring tests are. Suggested: scout.
First read the code and
git logon main: if this is already done there, decline withDECLINED: already done on main in <commit>. One pull; a test that fails without the change;bun scripts/design-lint.tsif src/web is touched; runbun teston what you touched.