CodeForFoco / CodeForFoco/fd-servicedirectory

Error handling: Extract and test sheet validation logic

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
feature tech debt
Dominant language
JavaScript
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

There is logic to handle errors in the app. This should be extracted and tested in `/utils`

These should be pure functions that don't modify state. For example, something like this:

```javascript
// Returns true / false if a category is valid.
// maybe returns an error message
const isValidCategory()...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.