Closed ahoym closed 6 years ago
Code Climate has analyzed commit 73f67859 and detected 2 issues on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Duplication | 2 |
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 97.5% (0.0% change).
View more on Code Climate.
Will not address the CC any further as doing it would make the test code harder to read in my opinon
Fixes: https://github.com/ahoym/redesert/issues/25
Context
If an app using
redesert
tries to useget*ErrorsById
and the entity doesn't exist, it will throw an error. This is because of not being able to call a property ofundefined
ornull
.Changes
Tasks