vendredi 29 juin 2018

How to detect that I'm in test mode angularjs

I need to know when I run protractor, how can I do this? I need something like this:

if(mode==test) {
    do something
}

How can I have access to variable from protractor.conf.js in my angularjs application?

Aucun commentaire:

Enregistrer un commentaire