fix(core): update

This commit is contained in:
2019-08-21 23:41:06 +02:00
parent c32a56d921
commit ff8e185ec3
5 changed files with 99 additions and 18 deletions

View File

@ -1,9 +1,18 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartproxy from '../ts/index';
let testProxy: smartproxy.SmartProxy;
tap.test('first test', async () => {
const testProxy = new smartproxy.SmartProxy();
// await testProxy.start();
testProxy = new smartproxy.SmartProxy();
});
tap.test('should start the testproxy', async () => {
await testProxy.start();
});
tap.test('should close the testproxy', async () => {
await testProxy.stop();
});
tap.start();