refactor JestResult for clarity and readability