Introducing broken unit test
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user