2 Commits

Author SHA1 Message Date
3b1ee6460f 1.0.8 2019-04-09 12:35:28 +02:00
1f86bb0eb4 fix(core): update 2019-04-09 12:35:27 +02:00
4 changed files with 5 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartipc",
"version": "1.0.7",
"version": "1.0.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartipc",
"version": "1.0.7",
"version": "1.0.8",
"private": false,
"description": "node inter process communication",
"main": "dist/index.js",

View File

@ -31,9 +31,11 @@ tap.test('should create a client', async tools => {
});
tap.test('should terminate the smartipc process', async tools => {
await tools.delayFor(1000);
await clientIpc.stop();
await serverIpc.stop();
tools.delayFor(2000).then(() => {
process.exit(0);
});
});
tap.start();

View File

@ -70,9 +70,6 @@ export class SmartIpc {
case 'client':
break;
}
plugins.smartdelay.delayFor(2000).then(() => {
process.exit(0);
});
}
/**