JonathanLorimer · GitHub

I wasn't sure how to put all of the db entry keys into scope. I made some ad hoc data structures to do so, but if anyone has any suggestions on how to do this better I would be open to them!

Note: I used runIO instead of before or beforeAll because I wanted to have access to the db entry keys. Additionally, I didn't insert the edgeCases when constructing the spec tree because they mess up some of the earlier tests. I had to insert the edgeCases in each it block afterwards, so I would still have access to the keys and they wouldn't pollute the db state.

Before submitting your PR, check that you've:

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

Read the original on github.com ↗