fix(core): update

This commit is contained in:
2020-01-25 18:52:46 +00:00
parent 33d7b30b65
commit e8d89d32dc
9 changed files with 50 additions and 42 deletions

View File

@ -13,7 +13,7 @@ tap.test('first test', async () => {
tap.test('should init the client', async () => {
await testClient.init();
})
});
tap.test('should be able to set a certificate', async () => {
await testClient.setSslSecret('central.eu', {
@ -23,12 +23,12 @@ tap.test('should be able to set a certificate', async () => {
id: 'hu7e6rw',
privateKey: 'wowza',
publicKey: 'hellothere'
})
})
});
});
tap.test('should get a secret', async () => {
const result = await testClient.getSslSecret('central.eu')
const result = await testClient.getSslSecret('central.eu');
console.log(result);
})
});
tap.start();