Skip to content
Myr

no-killable.js

This file

Path

test/fixtures/no-killable.js

13 lines · 248 bytes · JavaScript

Last changed by

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f65b86 point at it.

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 1–2why, one step back
1#!/usr/bin/env node
2import process from 'node:process';

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

line 3why, one step back
3import {sendMessage} from '../../index.js';

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 4–9why, one step back
4
5const noop = () => {};67process.on('SIGTERM', noop);8process.on('SIGINT', noop);9

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

line 10why, one step back
10await sendMessage('');

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 11–13why, one step back
11console.log('.');
1213setTimeout(noop, 1e8);