From 99efc2d5fede35bbd21a704da84186447ad54e38 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 20 Oct 2020 20:28:33 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index 47f0e2f..0ce5855 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -8,7 +8,7 @@ export { let testServer: AgTestServer; let handler: AAgHandler; -export const createTestServer = async (handlerArg: { new(envHandler: plugins.agSdk.AgEnvironment): plugins.agSdk.AAgHandler }) => { +export const createTestServer = async (handlerArg: { new(envManagerArg: plugins.agSdk.AgEnvironment): plugins.agSdk.AAgHandler }) => { 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;