Skip to content
Myr

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 file

Take it

Add `result.ipc`/`error.ipc` (#1067)ehmickybefore adoption3ab34de

lines 1–8why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {sendMessage, getOneMessage} from '../../index.js';45const message = await getOneMessage();6await sendMessage(message);7await sendMessage(message);8process.exitCode = 1;