Claude Bot
4f2d93773f
test(security-scanner): add TTY prompt tests for warning behavior
...
Add tests for the security scanner's interactive TTY prompt that appears
when warnings are found. Previously, TTY behavior was untested because
we lacked a way to simulate a terminal environment.
This adds:
- security-scanner-pty.py: Python script to create PTY environment
- bun-security-scanner-tty.test.ts: Tests for TTY and non-TTY behavior
- Verifies prompt appears in TTY mode
- Tests 'y'/'Y' continues installation
- Tests 'n'/'N'/Enter/other cancels installation
- Tests non-TTY mode fails immediately without prompting
- Verifies packages are installed/not installed accordingly
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-18 21:04:53 +00:00
..
2025-11-10 11:19:57 -08:00
2025-09-24 02:42:57 -07:00
2025-11-10 16:30:47 -08:00
2025-11-07 20:58:44 -08:00
2025-11-03 20:36:22 -08:00
2025-08-12 17:07:46 -07:00
2024-09-11 16:47:38 -07:00
2025-10-07 08:17:13 -07:00
2025-11-03 22:20:07 -08:00
2025-08-14 16:36:44 -07:00
2025-07-14 00:47:53 -07:00
2025-09-22 05:30:34 -07:00
2025-11-03 22:20:07 -08:00
2025-11-03 22:20:07 -08:00
2025-11-03 20:36:22 -08:00
2025-11-03 22:20:07 -08:00
2025-11-07 05:28:33 -08:00
2025-09-25 19:03:22 -07:00
2025-11-03 22:20:07 -08:00
2025-11-03 22:20:07 -08:00
2025-10-08 18:00:38 -07:00
2025-11-03 22:20:07 -08:00
2025-11-03 22:20:07 -08:00
2025-09-27 00:45:29 -07:00
2025-09-27 00:45:29 -07:00
2025-10-19 23:28:59 -07:00
2025-11-03 22:20:07 -08:00
2025-07-15 22:14:00 -07:00
2025-09-09 21:42:01 -07:00
2025-07-07 11:21:36 -07:00
2025-09-22 05:30:34 -07:00
2025-10-29 21:05:25 -07:00
2025-09-30 13:25:50 -07:00
2025-07-14 00:47:53 -07:00
2025-09-26 15:23:32 -07:00
2025-10-08 12:13:06 -07:00
2025-08-27 06:39:11 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-12-18 21:04:53 +00:00
2025-11-21 18:31:45 -08:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-11-03 22:20:07 -08:00
2025-07-14 00:47:53 -07:00
2025-11-03 22:20:07 -08:00
2025-01-20 23:17:52 -08:00
2025-08-12 17:07:46 -07:00
2025-11-03 22:20:07 -08:00
2025-11-03 22:20:07 -08:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-08-21 14:53:50 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-11-14 16:49:21 -08:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-11-03 22:20:07 -08:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-11-01 22:38:36 -07:00
2025-11-22 15:08:12 -08:00
2025-01-03 08:21:00 -08:00
2025-08-21 14:53:50 -07:00
2025-11-03 20:36:22 -08:00
2025-08-12 17:07:46 -07:00
2025-10-20 16:32:04 -07:00
2025-11-03 22:20:07 -08:00
2024-10-12 02:37:51 -07:00
2024-06-12 16:50:57 -07:00
2025-11-03 22:20:07 -08:00
2025-11-07 05:28:33 -08:00
2025-08-12 17:07:46 -07:00
2025-12-18 21:04:53 +00:00
2025-10-08 01:51:25 -07:00
2025-09-09 21:42:01 -07:00
2025-07-16 01:01:10 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00