Introducing broken unit test
This commit is contained in:
parent
7142a557b8
commit
ccd7badf5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue