fix(core): update
This commit is contained in:
		@@ -8,7 +8,7 @@ export {
 | 
			
		||||
 | 
			
		||||
let testServer: AgTestServer;
 | 
			
		||||
let handler: AAgHandler<any>;
 | 
			
		||||
export const createTestServer = async (handlerArg: { new(envHandler: plugins.agSdk.AgEnvironment): plugins.agSdk.AAgHandler<any> }) => {
 | 
			
		||||
export const createTestServer = async (handlerArg: { new(envManagerArg: plugins.agSdk.AgEnvironment): plugins.agSdk.AAgHandler<any> }) => {
 | 
			
		||||
  class AgEnvironement extends plugins.agSdk.AgEnvironment {
 | 
			
		||||
    public qenv = new plugins.qenv.Qenv('./', './.nogit');
 | 
			
		||||
    public async getEnvVar(nameArg: string) {
 | 
			
		||||
@@ -63,6 +63,11 @@ export const testFire = <
 | 
			
		||||
      throwErrorBool = true;
 | 
			
		||||
    }
 | 
			
		||||
    if (throwErrorBool) {
 | 
			
		||||
      console.log('Result: response did not comply');
 | 
			
		||||
      console.log('-> expected:');
 | 
			
		||||
      console.log(expectedResponseArg);
 | 
			
		||||
      console.log('-> but actually received:');
 | 
			
		||||
      console.log(actualResponse);
 | 
			
		||||
      throw new Error('response did not comply');
 | 
			
		||||
    }
 | 
			
		||||
    return actualResponse;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user