Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 738 Bytes

readme.md

File metadata and controls

19 lines (13 loc) · 738 Bytes

My first TDD aproach

For generate a Express boilder plate I used this command:

sudo npx express-generator --no-view api-tdd

You can find more information about express-generator in this link link

For testing I used the following libraries:

sudo npm install -D jest jest is a JavaScript testing framework. More information here

sudo npm install -D supertest supertest is a library for testing HTTP. More information here

sudo npm install -D http-errors library to handle http errors. More information here

For run the test suite:

npm test