Closed hellboy81 closed 8 years ago
There is not. I don't even know how you would do that in JavaScript.
you would do that in JavaScript.
with rewire
you can do it:
myMod = rewire('...')
myMod.__set__()
myMod.__get__()
Cool! Then I'd suggest using rewire.
Is there possible to access private method with
sandboxed-module
?i.e:
myPrivateMethod
inSUT
myPrivateMethod
inSUT