fix(core): update

This commit is contained in:
2019-10-01 18:04:43 +02:00
parent a7660deb78
commit afa91b3da3
6 changed files with 742 additions and 548 deletions

View File

@ -1,8 +1,16 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartjwt from '../ts/index';
tap.test('first test', async () => {
console.log(smartjwt.standardExport);
let smartjwtInstance: smartjwt.SmartJwt;
tap.test('should create a valid instance', async () => {
smartjwtInstance = new smartjwt.SmartJwt();
await smartjwtInstance.createNewKeyPair();
console.log(smartjwtInstance);
});
tap.test('should create a valid jwt', async () => {
});
tap.start();