outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

refactor(server): simplify shared metrics tests

Open sbruens opened this issue 9 months ago • 0 comments

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.

sbruens avatar May 16 '24 20:05 sbruens