pub(crate) fn test_item( snap: &GlobalStateSnapshot, test_item: TestItem, line_index: Option<&LineIndex>, ) -> Option<TestItem>