smartjwt/test/test.ts

17 lines
395 B
TypeScript
Raw Normal View History

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