fix(core): update
This commit is contained in:
		@@ -3,7 +3,7 @@ import { AgTestServer } from './test-sdk.classes.testserver';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
export {
 | 
					export {
 | 
				
			||||||
  AgTestServer
 | 
					  AgTestServer
 | 
				
			||||||
}
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let testServer: AgTestServer;
 | 
					let testServer: AgTestServer;
 | 
				
			||||||
export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {
 | 
					export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,6 +21,7 @@ export class AgTestServer {
 | 
				
			|||||||
      cors: true,
 | 
					      cors: true,
 | 
				
			||||||
      defaultAnswer: async () => 'apiglobal testserver',
 | 
					      defaultAnswer: async () => 'apiglobal testserver',
 | 
				
			||||||
      domain: 'localhost',
 | 
					      domain: 'localhost',
 | 
				
			||||||
 | 
					      port: 3000,
 | 
				
			||||||
      forceSsl: false,
 | 
					      forceSsl: false,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
    for (const handlerArg of this.handlers) {
 | 
					    for (const handlerArg of this.handlers) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user