Skip to content

Instantly share code, notes, and snippets.

Last active Oct 13, 2015
What would you like to do?
CommonJS Testing Private Expose
var privateState = require('privatestate');
// ... code
privateState.registerTestingFunctions(Utils, ['add']);
module.exports = Utils;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment