BREAKING CHANGE(switch to esm): update
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as sdk from '../ts/index';
|
||||
import { ISimpleRequest } from '@tsclass/tsclass/dist_ts/network';
|
||||
import * as sdk from '../ts/index.js';
|
||||
import { TypedRouter } from '@apiglobal/typedrequest';
|
||||
|
||||
tap.test('should create a valid Handler', async () => {
|
||||
@ -36,7 +35,7 @@ tap.test('should create a valid Handler', async () => {
|
||||
|
||||
const myHandlerInstance = new MyHandler(new AgEnvironement());
|
||||
|
||||
expect(myHandlerInstance).to.be.instanceOf(sdk.AAgHandler);
|
||||
expect(myHandlerInstance).toBeInstanceOf(sdk.AAgHandler);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user