apigee / openbank

An Open Banking Reference Implementation with Apigee
https://apigee.github.io/openbank
Apache License 2.0
132 stars 91 forks source link

Unit testing for complex JavaScript extensions #62

Closed seantdg closed 5 years ago

seantdg commented 7 years ago

There are a few complex javascript callouts, e.g. https://github.com/apigee/openbank/blob/master/src/gateway/oauth/apiproxy/resources/jsc/ValidateRequestJWT.js

We should unit test these as shown in https://community.apigee.com/articles/3964/unit-testing-javascript-code-with-mocha-sinon-and.html

laughingbiscuit commented 5 years ago

Closing as the project has been refactored and this bug issue no longer applies - please see https://github.com/apigee/openbank#previous-versions