smartjwt/test/test.ts
2019-10-01 18:04:43 +02:00

17 lines
395 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as smartjwt from '../ts/index';
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();