Skip to content
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

Drop browser tests #455

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

takenspc
Copy link

Considering following conditions, it seems that there is no necessity for testing whether this module is working on browsers.

Additionally, current browser tests still depend on phantom.js and tests actually fail without phantom.js. There is no reason to support phantom.js anymore.

https://travis-ci.org/form-data/form-data/jobs/648654832

browserify -t browserify-istanbul test/run-browser.js | obake --coverage

You had errors in your syntax. Use --help for further information.
Cannot find phantomjs in your PATH. If phantomjs is installed
you may need to specify its path manually with the "-p" option.
Run this executable with "--help" or view the README for more
details.

This PR drops browser tests and reorganize tests related npm scripts.

Considering following conditions, it seems that there is no necessity for testing whether this module is working on browsers.

-   IE10+ implements `new FormData()` and `append`

    https://developer.mozilla.org/en-US/docs/Web/API/FormData

-   JSDOM has own implementation of FormData APIs

    https://github.com/jsdom/jsdom/tree/master/lib/jsdom/living/xhr
@alexindigo
Copy link
Member

@takenspc Thanks for you interest. Do you mind to elaborate on the reason for this change?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 97.717% when pulling 6c39654 on takenspc:feature/drop-browser-test into d702625 on form-data:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 97.717% when pulling 6c39654 on takenspc:feature/drop-browser-test into d702625 on form-data:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants