Skip to content
Myr

ipc-get-io-error.js

This file

Path

test/fixtures/ipc-get-io-error.js

7 lines · 216 bytes · JavaScript

Last changed by

Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10

History of this file

Take it

Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10

lines 1–7why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {getOneMessage} from '../../index.js';4import {mockSendIoError} from '../helpers/ipc.js';56mockSendIoError(process);7console.log(await getOneMessage());