singularity-forge/src/resources/extensions/browser-tools
Nils Reeh 3cf0094559 test(browser-tools): add regression tests for optional sharp lazy-load
Satisfies the CI test requirement for the capture.ts source change.

Two describe blocks:
- Static: verifies the lazy-load pattern is structurally correct in
  source (no top-level import, getSharp helper present, null guard present)
- Behavioral: verifies constrainScreenshot returns the raw buffer
  unchanged when sharp is null (unavailable platform / bunx)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 23:45:01 +02:00
..
tests test(browser-tools): add regression tests for optional sharp lazy-load 2026-04-05 23:45:01 +02:00
tools feat(gsd): add .gsd/RUNTIME.md template for declared runtime context (#1626) 2026-03-20 12:51:51 -06:00
BROWSER-TOOLS-V2-PROPOSAL.md Initial commit 2026-03-10 22:28:37 -06:00
capture.ts fix(browser-tools): make sharp an optional lazy dependency 2026-04-05 23:40:24 +02:00
core.ts fix: resolve browser-tools TypeScript type errors in CI 2026-03-16 13:39:14 -05:00
evaluate-helpers.ts chore(M002/S01): auto-commit after reassess-roadmap 2026-03-13 08:04:27 -06:00
extension-manifest.json fix(extensions): update provides.hooks in 7 extension manifests to match actual registrations (#3157) 2026-03-31 11:54:41 -06:00
index.ts feat(gsd): add .gsd/RUNTIME.md template for declared runtime context (#1626) 2026-03-20 12:51:51 -06:00
lifecycle.ts fix: document silent catch handlers in browser-tools (#1037) 2026-03-17 18:33:00 -06:00
package.json feat(M002/S03): Screenshot pipeline 2026-03-13 08:04:27 -06:00
refs.ts fix: resolve TypeScript type errors in browser-tools extension (#204) (#212) 2026-03-13 11:35:47 -06:00
settle.ts fix(browser-tools): document intentional silent catches, add debug logging for others (#1013) 2026-03-17 18:01:44 -06:00
state.ts fix: consolidate duplicate VerificationCheck/Result type definitions (#1008) 2026-03-17 18:01:42 -06:00
utils.ts fix: consolidate duplicate VerificationCheck/Result type definitions (#1008) 2026-03-17 18:01:42 -06:00