jeudi 30 novembre 2017

Is it possible to trigger programmatically a ember mirage request response

I use Ember mirage in my tests. I need to check the state of my tested component after a request has been send but before the respond has been received.

How it is possible to configure my test to avoid the mirage server responds automatically and trigger the response programmatically?

I used to do that with sinonjs but I do not find the way to manage this use case with Ember mirage. It is possible?




Aucun commentaire:

Enregistrer un commentaire