Click here to Skip to main content
15,070,680 members
Articles / DevOps / Unit Testing

Stats

31.9K views
199 downloads
11 bookmarked

Proxy Pattern in JavaScript

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

Views

Downloads

License

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

Share

About the Author

Ralph Varjabedian
Technical Lead
Lebanon Lebanon
No Biography provided

Comments and Discussions