Click here to Skip to main content
15,885,985 members
Articles / DevOps / Unit Testing

Proxy Pattern in JavaScript

Rate me:
Please Sign up or sign in to vote.
4.75/5 (4 votes)
21 Nov 2013CPOL3 min read 36.3K   205   12  
With one function call, wrap a class with a proxy in Javascript. A precursor to easy error mocking in node.js using mocha

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Lebanon Lebanon
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions