Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
3b1ee6460f | |||
1f86bb0eb4 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartipc",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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",
|
||||
|
@ -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();
|
||||
|
@ -70,9 +70,6 @@ export class SmartIpc {
|
||||
case 'client':
|
||||
break;
|
||||
}
|
||||
plugins.smartdelay.delayFor(2000).then(() => {
|
||||
process.exit(0);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user