ipc-echo-twice-fail.js
This file
Path
test/fixtures/ipc-echo-twice-fail.js
8 lines · 233 bytes · JavaScript
Last changed by
Add `result.ipc`/`error.ipc` (#1067)ehmickybefore adoption3ab34de
History of this fileTake it
Add `result.ipc`/`error.ipc` (#1067)ehmickybefore adoption3ab34de
lines 1–8why, one step back1#!/usr/bin/env node2import process from 'node:process';3import {sendMessage, getOneMessage} from '../../index.js';45const message = await getOneMessage();6await sendMessage(message);7await sendMessage(message);8process.exitCode = 1;