-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process.platform #55
Comments
Seems simple enough. |
Tho then someone will complain saying it should be the user agent :p |
well they'll probably really want it to be firefox or chrome and totally be On Sat, Mar 19, 2016 at 2:29 AM Roman Shtylman [email protected]
|
I feel |
I vote for browser as well. For now I have to check for |
@CMCDragonkai Also the |
It just means I can use a switch case expression on |
pull requests are accepted wink wink |
I've made a module to make the |
@vmx I would consider it unusual to need that. Browsers are sufficiently uniform across operating systems (we only need to remap key bindings, not paths, etc.) that for most use cases, it's pointless to draw such a distinction. Also, when it comes to skipping tests like that, I typically prefer controlling how I invoke the runner rather than in the tests themselves. |
@isiahmeadows It's indeed uncommon. In my case some HTTP API is tested which is not fully implemented on all platforms. Hence I skip tests based on the platform the Browser is running on. |
@defunctzombie We have a PR for the platform field. #82 |
we should probably set this to 'browser', thoughts ?
The text was updated successfully, but these errors were encountered: