Skip to content

Created a test for the new york times API middleware#24

Open
moisesgomez1 wants to merge 1 commit intodevfrom
testing/new-york-times-middleware-test
Open

Created a test for the new york times API middleware#24
moisesgomez1 wants to merge 1 commit intodevfrom
testing/new-york-times-middleware-test

Conversation

@moisesgomez1
Copy link
Collaborator

Description

This pull request is to merge the branch that contain the new middleware test to fetch data from the NYT API.

Changes

Create a tests/apiController.test.js file and also created a middleware function called apiController.newYorkTimes in the apiController file. Currently the test is failing.

Checklist

  • I have tested the changes locally
  • I have resolved any merge conflicts

Copy link
Collaborator

@mtv1243 mtv1243 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ran locally no problems. test exists but does fail because the feature has not been created yet.

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