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 7122767 point at it.
Use `async/await` instead of direct `Promise` manipulation (#659)ehmickybefore adoption7122767
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';Use `async/await` instead of direct `Promise` manipulation (#659)ehmickybefore adoption7122767
line 4why, one step back4Rename `index` to `fdNumber` (#862)ehmickybefore adoption295ef40
line 5why, one step back5const fdNumber = Number(process.argv[2]);Add `result.stdio` and `error.stdio` (#676)ehmickybefore adoption62a5207
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);