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