Skip to content

Conversation

nason
Copy link
Collaborator

@nason nason commented Nov 20, 2017

Addressing #138 by defaulting the body option passed to fetch to undefined

Adds sinon to the test harness, and a test case verifying fetch is not passed a body of null punted on this, will be putting more thought into this type of testing in the near future

@nason nason changed the title Default fetch body option to undefined. Resolves #138. Default fetch body option to undefined Nov 20, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 462b2f5 on null-body-fix into cbf0553 on master.

@coveralls
Copy link

coveralls commented Nov 20, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 7655a34 on null-body-fix into 2cc828f on master.

- `null` values cause issues with Edge's fetch implementation
- TODO: add test cases verifying fetch args, and consider browser testing to catch issues in vendor-specific implementations
@nason nason merged commit efef1fc into master Jan 24, 2018
@nason nason deleted the null-body-fix branch January 24, 2018 21:53
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.

2 participants