smartipc/test/test.ts

25 lines
542 B
TypeScript
Raw Normal View History

2019-04-05 18:30:43 +00:00
import { expect, tap } from '@pushrocks/tapbundle';
2019-04-08 17:42:23 +00:00
import * as smartipc from '../ts/index';
2019-04-05 18:30:43 +00:00
2019-04-08 17:42:23 +00:00
import * as smartspawn from '@pushrocks/smartspawn';
import * as smartpromise from '@pushrocks/smartpromise';
let testIpc: smartipc.SmartIpc;
tap.test('should instantiate a valid instance', async () => {
testIpc = new smartipc.SmartIpc({
ipcSpace: 'testSmartIpc',
type: 'server'
});
2019-04-05 18:30:43 +00:00
})
2019-04-08 17:42:23 +00:00
tap.test('should create a client', async (tools) => {
});
tap.test('should terminate the smartipc process', async () => {
});
tap.start();