I have created tests that work directly with the main contract code, verifying that it works.
But now when I try to run the same tests through the proxy, it fails with “TypeError: Cannot read property ‘function call’ of undefined”.
Just as when calling the Proxy in the wild, you use the ABI of the contract your proxying to.
Is there any way to create automated tests to verify if a proxy works as intended? I.e. by running tests through it towards the contract you want to verify work?