Introducing broken unit test

This commit is contained in:
Ravi Srinivasan 2019-07-03 10:50:05 +05:30 committed by GitHub
parent 7142a557b8
commit ccd7badf5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ describe('Books App routes test', () => {
it('GET to /authors should return 200', (done) => { it('GET to /authors should return 200', (done) => {
chai.request(reqServer) chai.request(reqServer)
.get('/authors') .get('/author')
.end((err, res) => { .end((err, res) => {
expect(res).to.have.status(200); expect(res).to.have.status(200);
expect(res.text).to.include('James Joyce'); expect(res.text).to.include('James Joyce');