Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

chore: add missing test for the wildcard response type branch #1168

Merged
merged 2 commits into from
Feb 5, 2021

Conversation

domharrington
Copy link
Member

🧰 What's being changed?

The condition at the end of this line didn't have a test:

const isJson = contentType && (matchesMimeType.json(contentType) || matchesMimeType.wildcard(contentType));

🧬 Testing

If the build passes 🤷‍♂️

@domharrington domharrington requested a review from erunion February 3, 2021 22:04
@erunion erunion temporarily deployed to readme-api-e-ci-add-mis-mu6uxj February 3, 2021 22:04 Inactive
@domharrington domharrington temporarily deployed to readme-api-e-ci-add-mis-mu6uxj February 3, 2021 22:31 Inactive
@erunion erunion merged commit 75f3b3f into next Feb 5, 2021
@erunion erunion deleted the ci/add-missing-test branch February 5, 2021 05:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants