Files
bun.sh/test/js
Claude Bot 6c95487fee fix(test): address review feedback for S3 CRLF injection tests
- Use Bun's async toThrow pattern (await expect(async () => { ... }))
  instead of Jest-style .rejects.toThrow for write() rejection tests
- Replace try/finally + manual server.stop() with `using` for
  deterministic resource cleanup and remove Bun.sleep(200) delay
- Replace secret-like credential strings with clearly fake placeholders
  (FAKE_ACCESS_KEY / FAKE_SECRET) to avoid gitleaks triggers

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-12 05:16:15 +00:00
..