What was the root cause of the problem originally / what feature was missing?
This PR adds more tests to server-lib files, and increases the value of coverage
How does this pull request solve it (in broad terms)?
Add tests
Does it close any open issues?
Closes @20
Quick checklist
[x] eslint shows no errors
cd web-dapp
eslint .
[x] docs were updated where necessary OR they don't need to be updated
[x] tests were updated where necessary OR they don't need to be updated
What is it? (leave one option)
(Improvement)
of existing functionalityWhat was the root cause of the problem originally / what feature was missing? This PR adds more tests to server-lib files, and increases the value of coverage
How does this pull request solve it (in broad terms)? Add tests
Does it close any open issues? Closes @20
Quick checklist
Additional information