vendredi 21 septembre 2018

How to get module option from test command in environment config

When running tests using a command such as ember test --module="Acceptance | example", how could I capture the module option within the environment.js config file?

I'd like to do this so that I can validate the option in the config, then pass a flag into the application instance for testing.




Aucun commentaire:

Enregistrer un commentaire