Skip to content
Myr

ipc-echo-fail.js

This file

Path

test/fixtures/ipc-echo-fail.js

6 lines · 180 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–6why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {sendMessage, getOneMessage} from '../../index.js';45await sendMessage(await getOneMessage());6process.exitCode = 1;