One of the problems with tech content is that it falls out of date. Examples that worked 2 years ago may no longer work today, or be littered with deprecation warnings.
is a tool that converts Mocha tests to documentation. That’s what Mastering JS uses to make sure our examples actually work. For example, we have a new tutorial this week about uploading files to Amazon S3
. Here’s what the example looks like: