max-buffer.js
This file
Path
test/fixtures/max-buffer.js
7 lines · 245 bytes · JavaScript
Last changed by
Improve test helpers (#910)ehmickybefore adoptiona29352f
History of this fileTake it
The walk stopped after 200 commits: lines older than db95b51 point at it.
Fix calling `.kill()` many times (#768)ehmickybefore adoptiondb95b51
lines 1–2why, one step back1#!/usr/bin/env node2import process from 'node:process';Improve test helpers (#910)ehmickybefore adoptiona29352f
line 3why, one step back3import {getWriteStream} from '../helpers/fs.js';Fix calling `.kill()` many times (#768)ehmickybefore adoptiondb95b51
line 4why, one step back4Rename `index` to `fdNumber` (#862)ehmickybefore adoption295ef40
line 5why, one step back5const fdNumber = Number(process.argv[2]);Fix calling `.kill()` many times (#768)ehmickybefore adoptiondb95b51
line 6why, one step back6const bytes = '.'.repeat(Number(process.argv[3] || 1e7));Improve test helpers (#910)ehmickybefore adoptiona29352f
line 7why, one step back7getWriteStream(fdNumber).write(bytes);