fix(core): update
This commit is contained in:
		@@ -8,8 +8,9 @@ export {
 | 
			
		||||
let testServer: AgTestServer;
 | 
			
		||||
export const createTestServer = async (handlerArg: { new(envHandler: 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) {
 | 
			
		||||
      return '';
 | 
			
		||||
      return this.qenv.getEnvVarOnDemand(nameArg);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  testServer = new AgTestServer(new handlerArg(new AgEnvironement()));
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,8 @@ import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces';
 | 
			
		||||
export { agSdk, typedrequest, typedrequestInterfaces };
 | 
			
		||||
 | 
			
		||||
// pushrocks scope
 | 
			
		||||
import * as qenv from '@pushrocks/qenv';
 | 
			
		||||
import * as smartexpress from '@pushrocks/smartexpress';
 | 
			
		||||
import * as smartobject from '@pushrocks/smartobject';
 | 
			
		||||
 | 
			
		||||
export { smartexpress, smartobject };
 | 
			
		||||
export { qenv, smartexpress, smartobject };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user