fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-25 15:47:34 +00:00
parent c0e264146b
commit 7e34275029
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { AgTestServer } from './test-sdk.classes.testserver';
export {
AgTestServer
}
};
let testServer: AgTestServer;
export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {

View File

@ -21,6 +21,7 @@ export class AgTestServer {
cors: true,
defaultAnswer: async () => 'apiglobal testserver',
domain: 'localhost',
port: 3000,
forceSsl: false,
});
for (const handlerArg of this.handlers) {