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
12345678#!/usr/bin/env nodeimport process from 'node:process';import {sendMessage} from '../../index.js';import {mockSendIoError} from '../helpers/ipc.js';
mockSendIoError(process);await sendMessage('.');