Files
bun.sh/test/js/node/process/process-report.test.ts
pfg 2c7b800af1 feat(process): implement process.report.getReport() for Windows
Added full Windows implementation of process.report.getReport() API including:
- System resource usage (memory, CPU time, I/O counters)
- Windows-specific limits and version information
- JavaScript heap and stack information
- Environment variables and process information

Previously this returned "Not implemented" on Windows. The implementation
now provides parity with Unix platforms using Windows-specific APIs.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 19:28:34 -07:00

6 lines
160 B
TypeScript

import { test, expect } from "bun:test";
test("process.report.getReport() works", () => {
expect(process.report.getReport().header.osName).toBeString();
});