fix(core): update

This commit is contained in:
2018-07-16 23:39:25 +02:00
parent d77d2b13da
commit b4a9d1aa0c
3 changed files with 93 additions and 63 deletions

View File

@ -23,7 +23,10 @@ tap.test('should post a JSON document over http', async () => {
});
tap.test('should deal with unix socks', async () => {
await expect(smartrequest.request('http://unix:/var/run/docker.sock:/containers'))
const socketResponse = await smartrequest.request('http://unix:/var/run/docker.sock:/containers');
console.log(socketResponse.body);
});
tap.start();
tap.start({
throwOnError: true
});