Files
bun.sh/test/cli/repl
Claude Bot cf159ae2fb test(repl): add comprehensive tests for bun repl
Add 41 tests covering:
- REPL commands (.exit, .q, .help)
- Expression evaluation (numbers, strings, objects, arrays)
- Variable persistence across lines
- Function and class definitions
- Async/await support
- Built-in APIs (Bun, process, fetch, URL, etc.)
- Error handling (syntax and runtime errors)
- Modern JS features (destructuring, spread, arrow functions, etc.)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 20:51:57 +00:00
..