outline-server
outline-server copied to clipboard
refactor(server): simplify shared metrics tests
Some cleanup I wanted to separate from another PR I'm working on where I'm editing these tests. I wanted to understand the test cases better to make edits safer.
This refactor reduces duplication, separates each distinct test scenario into its own test case, and clearly separates the arrange, act, and assert blocks of each test.