BREAKING CHANGE(switch to esm): update

This commit is contained in:
2023-03-20 12:26:43 +01:00
parent 411516befc
commit 5a3ccf6f4f
17 changed files with 4398 additions and 11253 deletions

View File

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