booleanfalse--logHeapUsageLog heap usage for each test, it can help to find memory leaks in tests.
npx rstest --logHeapUsageAfter setting logHeapUsage to true, Rstest will log heap usage for each test.
✓ test/index.test.ts (2) 11 MB heap used
✓ test/index1.test.ts (2) 11 MB heap used
Test Files 2 passed
Tests 2 passed | 2 skipped (4)
Duration 233ms (build 175ms, tests 58ms)