Fix effect test: barracks requires a callback
This commit is contained in:
@@ -25,8 +25,8 @@ tape('should render on the client', function (t) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
effects: {
|
effects: {
|
||||||
'triggers-reducers': (action, state, send) => {
|
'triggers-reducers': (action, state, send, done) => {
|
||||||
send('test:mutate-on-return', {beep: 'barp'})
|
send('test:mutate-on-return', {beep: 'barp'}, done)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user