Node.js / Testing Unit testing What to test? The aim is to test everything with extra attention to: conditionals (both sides), mocked API requests, exports.