Рет қаралды 26,994
An overview of unit testing with Jest, covering the main features it offers. This includes: initial setup and writing of first tests, watch mode usage, common expect statement matchers in use, test filters, coverage reports, and snapshots.
This video is also part of a playlist of Jest content:
• Jest
00:00 - What we'll cover
03:06 - Project setup and watch mode
05:45 - Creating tests
10:55 - Red, Green example
13:43 - Expect statements
25:17 - Add test script and git
27:08 - Coverage
36:43 - Test run control utility methods
40:08 - Test filters
41:27 - What files coverage includes by default
46:07 - Snapshots
53:12 - Wrap-up
Follow Jimmy Cleveland's doings:
twitter: / jimmydcleveland
blog: blog.jimmydc.com/
#jest #testing