Files
smartjwt/test/test.ts

17 lines
395 B
TypeScript
Raw Normal View History

2019-02-23 00:48:01 +01:00
import { expect, tap } from '@pushrocks/tapbundle';
2019-02-23 00:50:21 +01:00
import * as smartjwt from '../ts/index';
2019-02-23 00:48:01 +01:00
2019-10-01 18:04:43 +02:00
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 () => {
2019-02-23 00:50:21 +01:00
});
2019-02-23 00:48:01 +01:00
2019-02-23 00:50:21 +01:00
tap.start();