ipc-send-fail.js
This file
Path
test/fixtures/ipc-send-fail.js
7 lines · 206 bytes · JavaScript
Last changed by
Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
History of this filetest/fixtures/ipc-send-fail.js
7 lines · 206 bytes · JavaScript
Add promise-based IPC (#1059) · ehmicky · before adoption · acc2b68 ·
History of this file7 lines · 206 bytes · JavaScript
Add promise-based IPC (#1059) · ehmicky · before adoption · acc2b68 ·
lines 1–7why, one step back1#!/usr/bin/env node2import process from 'node:process';3import {sendMessage} from '../../index.js';4import {foobarString} from '../helpers/input.js';56await sendMessage(foobarString);7process.exitCode = 1;