fix(core): update
This commit is contained in:
@ -3,6 +3,10 @@ import * as smartproxy from '../ts/index';
|
||||
|
||||
let testProxy: smartproxy.SmartProxy;
|
||||
|
||||
if (process.env.CI) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
tap.test('first test', async () => {
|
||||
testProxy = new smartproxy.SmartProxy();
|
||||
});
|
||||
@ -12,7 +16,7 @@ tap.test('should start the testproxy', async () => {
|
||||
});
|
||||
|
||||
tap.test('should wait for 5 seconds', async (tools) => {
|
||||
await tools.delayFor(5000);
|
||||
await tools.delayFor(1000);
|
||||
});
|
||||
|
||||
tap.test('should close the testproxy', async () => {
|
||||
|
Reference in New Issue
Block a user