fac-15 / casual-sports

Connecting those who want to do sports and exercise!
https://casual-sports.herokuapp.com/
3 stars 2 forks source link

describe() your tests? #117

Closed rub1e closed 5 years ago

rub1e commented 5 years ago

Is there a reason you're not putting your tests in describe blocks?

It's by no means compulsory, but it's useful for people reading them, it's useful for your own organisation, and it's often easier dealing with blocks than individual tests (c.f. #116)

https://jestjs.io/docs/en/api#describename-fn