12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
|
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||
|
|
import * as smartsign from '../ts/index.js';
|
||
|
|
|
||
|
|
let testSmartSign: smartsign.SmartSign;
|
||
|
|
|
||
|
|
tap.test('should create a new SmartSign instance', async () => {
|
||
|
|
testSmartSign = new smartsign.SmartSign(Buffer.from('test certificate'));
|
||
|
|
expect(testSmartSign).toBeInstanceOf(smartsign.SmartSign);
|
||
|
|
});
|
||
|
|
|
||
|
|
export default tap.start();
|