What it does
Does a command that takes its target as an argument or an environment variable fall back to a literal the project no longer declares: a loopback URL on a port no package.json script, PORT constant, .listen(N) call or config file names, or a default path...
How it helps you
Tests run against the address your project uses today.
Tested against itself
23 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Test quality |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 264 |
| ISO/IEC 25010 | Maintainability: testability |
| Breaks caught | 23 |