@Garrick wrote:
A controller action is passed to components as an action closure. The action returns a promise.
The guides demonstrate that actions can be tested via
controller.send
but that only triggers the action and does not return a value.How should a controller action be unit tested?
Is unit testing the right approach?
Posts: 2
Participants: 2