BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-10-23 23:53:34 +02:00
parent cf6d1b2b04
commit 548c8147e6
16 changed files with 4418 additions and 11352 deletions

View File

@ -1,11 +1,11 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartcrypto from '../ts/index';
import * as smartcrypto from '../ts/index.js';
let testSmartCrypto: smartcrypto.Smartcrypto;
tap.test('first test', async () => {
testSmartCrypto = new smartcrypto.Smartcrypto();
expect(testSmartCrypto).to.be.instanceOf(smartcrypto.Smartcrypto);
expect(testSmartCrypto).toBeInstanceOf(smartcrypto.Smartcrypto);
});
tap.start();