dimanche 1 mai 2016

How can I set up an Ember Simple Auth session in dev with data from Mirage?

I want to configure the Ember Simple Auth session to be authenticated for a user generated by Ember CLI Mirage on startup. During testing I can use the Ember Simple Auth authenticateSession() helper, but as far as I can tell, this isn't available during development. Is there a way to update the session before the app boots?




Aucun commentaire:

Enregistrer un commentaire