Mocking properties
Thanks to @Markus-Ende we can now mock propertie that aren't getters.
Please note, that stubbing properties that don't have getters only works if Proxy object is available (ES6).
Thanks to @Markus-Ende we can now mock propertie that aren't getters.
Please note, that stubbing properties that don't have getters only works if Proxy object is available (ES6).