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
123456789#!/usr/bin/env nodeimport {sendMessage} from '../../index.js';
// Forged `strict` acknowledgment responses, for messages which were sent to another subprocessfor (let id = 0; id < 1e3; id += 1) { // eslint-disable-next-line no-await-in-loop await sendMessage({type: 'execa:ipc:response', id, message: true});}