Summary

In this chapter, we discussed some core testing concepts, such as stubs, suites, and more. We also looked at the test-driven development and behavior-driven development approaches, and how to work with some of the leading JavaScript testing frameworks, such as Mocha, Chai, Sinon.JS, Enzyme, SuperTest, and Nightwatch.js.

In the next chapter, we will learn how to use the TypeScript language services to create our development tools.

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.