We are writing test cases using mocha. I am referring to this . Our test cases are around jsc resource that we have. Apigee javascript have context.getVariable(properties.myproperty). How I mock/pass properties.myproperty ? I am getting ReferenceError properties not defined. I am not good with javascript.
Unit test javascript resource 0 Answers
apickli - stopped working 3 Answers
Unit Testing for policy in APIGEE 1 Answer
Fetching target server in java script for callout 1 Answer
unit-testing javascript files 1 Answer