Files
smartsign/test/test.node.ts
T

12 lines
380 B
TypeScript
Raw Normal View History

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();