Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 425 Bytes

SuperTest.md

File metadata and controls

29 lines (15 loc) · 425 Bytes

Generate express app

Install jest as global dev dependency

Set up utils directory with one simple function

Set up test directory with one test

run test

make pass

write tests/make pass

Move onto harder problem, follow same pattern

Create a route taking in query params and printing out some data

incorporate util function

add supertest

write a test for the route

make pass

do this for several variations

done.