ipc-send-strict-forged.js
This file
Path
test/fixtures/ipc-send-strict-forged.js
8 lines · 316 bytes · JavaScript
Last changed by
TweaksSindre Sorhusbefore adoption698a1b8
History of this fileTake it
TweaksSindre Sorhusbefore adoption698a1b8
lines 1–8why, one step back1#!/usr/bin/env node2import {sendMessage} from '../../index.js';34// Forged `strict` acknowledgment responses, for messages which were sent to another subprocess5for (let id = 0; id < 1e3; id += 1) {6 // eslint-disable-next-line no-await-in-loop7 await sendMessage({type: 'execa:ipc:response', id, message: true});8}