Istanbul is a JavaScript test coverage tool. It can track how well your unit-tests exercise your codebase.