fix(core): update
This commit is contained in:
10
test/test.ts
10
test/test.ts
@ -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();
|
||||
|
Reference in New Issue
Block a user