You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closing this, as I can just call TestStore.handleAction() directly. I had the impression only things assigned to this explicitly in the constructor is considered public.
Hello,
Is it possible to get access to methods of an exported class. In my case a singleton
flux
store, something like.the super class method
getInstance()
returns a singleton instance.now, is there a way get hold of
handleAction
in my test file. Something along the lines ofwhen I tried I get error
I could probably export these private method to a public variable, and remove on production build. But, wonder is it possible without that.
The text was updated successfully, but these errors were encountered: