Appendix: Test-Driven Development

Learn how to set up a Jest development environment with jsdom and jquery on a local machine.

Jest is available through npm, and will therefore require an npm environment, which can be created as follows:

npm init

Here, we have initialized an npm project and can now install the required Jest packages as follows:

Get hands-on with 1400+ tech skills courses.