diff --git a/packages/statusLambda/tests/test-handler.test.ts b/packages/statusLambda/tests/test-handler.test.ts index e036ae6ef..6ba3ea6ac 100644 --- a/packages/statusLambda/tests/test-handler.test.ts +++ b/packages/statusLambda/tests/test-handler.test.ts @@ -14,7 +14,7 @@ import {mockAPIGatewayProxyEvent, mockContext} from "@PrescriptionStatusUpdate_c const mock = new MockAdapter(axios) describe("Unit test for status check", function () { - let originalEnv: {[key: string]: string | undefined} + let originalEnv: {[key: string]: string | undefined} = process.env afterEach(() => { process.env = {...originalEnv} mock.reset()