I'm running some unit tests in multiple environments. I'm trying to write a unit test for some platform dependant code, so I need a way to know which environment I'm running. I've figured out how to do it in a functional test (using this.remote
) but not a unit test.
Is there a way I can identify the running environment from the inside of a unit test suite?
Aucun commentaire:
Enregistrer un commentaire