ipc-send-io-error.js
This file
Path
test/fixtures/ipc-send-io-error.js
7 lines · 202 bytes · JavaScript
Last changed by
Add tests for I/O errors during `sendMessage()` (#1095)ehmickybefore adoptionc6c66da
History of this fileTake it
Add tests for I/O errors during `sendMessage()` (#1095)ehmickybefore adoptionc6c66da
lines 1–7why, one step back1#!/usr/bin/env node2import process from 'node:process';3import {sendMessage} from '../../index.js';4import {mockSendIoError} from '../helpers/ipc.js';56mockSendIoError(process);7await sendMessage('.');