April 2018
Intermediate to advanced
374 pages
8h 35m
English
The test code itself is at e2e_tests/integration_test.js, and I leverage mocha and chai to lay out the tests in a BDD-style structure. A convenient side effect of the BDD structure with mocha and chai is that tests can be wrapped by describe and it, which structure how the tests get run. Anything within a describe block doesn't have a guaranteed ordering, but you can nest describe blocks to get the structure you want.
Read now
Unlock full access