Skip to content

Commit

Permalink
Removed unnecessary API call and commented test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdigby committed Jul 9, 2017
1 parent b771834 commit 673a386
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/tests/response.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ describe('Handing server responses', () => {
endpoint: 'pages?slug=empty-response',
options: { allowEmptyResponse: true },
component: () => <p>Hello</p>
}, {
path: '/404-array-response',
endpoint: ['posts?_embed', 'pages?slug=404-response'],
component: () => <p>Hello</p>
}],
siteUrl: 'http://dummy.api'
}
Expand Down Expand Up @@ -104,12 +100,4 @@ describe('Handing server responses', () => {
done()
})
})

// it('Route matched, API array 404, status code is 404', (done) => {
// request
// .get(`${uri}/404-array-response`, (err, res) => {
// expect(res.statusCode).to.equal(404)
// done()
// })
// })
})

0 comments on commit 673a386

Please sign in to comment.