Skip to content
Myr

ipc-send-echo-strict.js

This file

Path

test/fixtures/ipc-send-echo-strict.js

7 lines · 233 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 {setTimeout} from 'node:timers/promises';3import {sendMessage, getOneMessage} from '../../index.js';45await sendMessage('.', {strict: true});6await setTimeout(10);7await sendMessage(await getOneMessage());