Skip to content
Snippets Groups Projects
Unverified Commit afa289f7 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs(best practices): refactor code or tests, not both at once (#25237)

parent b21827da
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,12 @@ function foo(str: string): boolean {
}
```
### Refactor one thing at a time
Refactor the code _or_ refactor the tests.
Avoid refactoring the code and tests at the same time, this can mask regression errors.
## Logging
For `WARN`, `ERROR` and `FATAL log messages use logger metadata.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment