Our great sponsors
-
recursive-proxy-mock
Create a proxy which can mock any object, function, class, etc. with infinite depth and combinations.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Take a look at the recursive-proxy-mock library. The ability to create an object where every property or function "exists" with infinite depth is a really powerful primitive. Not just for providing mock implementations to complex objects for testing, but also for the ability to store and replay operations on another object in the future.
I just did this prototype library yesterday that uses proxies internally: https://github.com/jehna/nosx