A sample project and tutorial for Jest
- jestSample is curated jest Samples
- sometimes you may not want to switch between code and tutorial
- This repo follows that - it is essentially a tutorial inside code.
(Also at the end of each js module there is a go to link)
- Chapter-2 Opposite Matcher
- Chapter-3 Truthiness
- Chapter-4 Numbers
- Chapter-5 Strings
- Chapter-6 Arrays and Objects
- Chapter-7 Exceptions
- Chapter-8 Async Code
- Chapter-9 Mock Functions
- issue a pull request.
- if there are functions or modules that you need to define then add them to the ./lib dir
- feel free to add more samples and chapters etc.
- if there is a confusion on how to structure your code please reach out to me via github issue.