Nicola Molinari

Results 174 comments of Nicola Molinari

Uh, fastest support ever! ;) So yes, I would also like to test the Store in isolation but what I would like to achieve first is to test that my...

Oh, and I wanted to use `simulateAction` because I didn't want to actually execute the action (imagine it has to fetch data from a server). Still not a good idea...

Ok thanks, I'll have another look tomorrow as well. Maybe I'm missing something...

@tappleby but how do you register your store to the dispatcher? ``` javascript // suggested way this.createActions('session', SessionActions) this.createStore('session', SessionStore, this) // with actions? this.createActions('session', SessionActions) this.createStore('session', SessionStore, this.getActions('session')) ```

@acdlite I've made a PR with the failing test in case you want to have a look https://github.com/acdlite/flummox/pull/74

Update: So I was able to make this working ``` javascript class UserStore extends Store { constructor(flux) { super() this.registerActions(flux) this.state = { user: { name: '', email: '' }...

Alright then, I'll give it a try! Thanks :)

Thanks guys for putting efforts into this :+1:

@tebriel I'll give it a try as soon as I've got some spare time