BREAKING CHANGE(core): switch to esm
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user