electron/spec/fixtures/module/echo.js

7 lines
152 B
JavaScript

process.on('uncaughtException', function (err) {
process.send(err.message);
});
const echo = require('@electron-ci/echo');
process.send(echo('ok'));