Path Lines of Code jest.config.js 27 scripts/transpile_es_to_cjs_for_integration_tests.mjs 41 src/__mocks__/vscode.js 224 src/browser/api/factory.test.ts 46 src/browser/api/mediator_commands_api_client.test.ts 48 src/browser/auth/factory.test.ts 26 src/browser/auth/web_ide_authentication.test.ts 81 src/browser/diagnostics/settings_diagnostics_renderer.test.ts 29 src/browser/gitlab_platform_browser.test.ts 101 src/browser/gitlab_telemetry_environment_browser.test.ts 45 src/common/__mocks__/constants.ts 1 src/common/__mocks__/fetch_logged.ts 18 src/common/__mocks__/mock_text_document.ts 43 src/common/api/graphql/ai_completion_response_channel.test.ts 41 src/common/chat/api/get_chat_support.test.ts 54 src/common/chat/api/pulling.test.ts 22 src/common/chat/chat_state_manager.test.ts 177 src/common/chat/commands/close_gitlab.chat.test.ts 14 src/common/chat/commands/explain_selected_code.test.ts 64 src/common/chat/commands/fix_code.test.ts 64 src/common/chat/commands/focus_gitlab_chat.test.ts 14 src/common/chat/commands/generate_tests.test.ts 64 src/common/chat/commands/generate_tests.ts 15 src/common/chat/commands/new_chat_conversation.test.ts 21 src/common/chat/commands/open_gitlab_chat.test.ts 14 src/common/chat/commands/refactor_code.test.ts 64 src/common/chat/copy_content.test.ts 24 src/common/chat/get_platform_manager_for_chat.test.ts 73 src/common/chat/gitlab_chat.test.ts 247 src/common/chat/gitlab_chat_api.test.ts 447 src/common/chat/gitlab_chat_controller.test.ts 667 src/common/chat/gitlab_chat_file_context.test.ts 84 src/common/chat/gitlab_chat_record.test.ts 65 src/common/chat/gitlab_chat_record_context.test.ts 25 src/common/chat/gitlab_chat_slash_commands.test.ts 15 src/common/chat/gitlab_chat_terminal_context.test.ts 159 src/common/chat/gitlab_chat_view.test.ts 217 src/common/chat/insert_code_snippet.test.ts 46 src/common/chat/utils/chat_availability_utils.test.ts 30 src/common/chat/utils/editor_text_utils.test.ts 94 src/common/chat/utils/submit_feedback.test.ts 130 src/common/code_suggestions/code_suggestions.test.ts 92 src/common/code_suggestions/code_suggestions_changes_tracker.test.ts 49 src/common/code_suggestions/code_suggestions_gutter_icon.test.ts 157 src/common/code_suggestions/code_suggestions_provider.test.ts 692 src/common/code_suggestions/code_suggestions_state_manager.test.ts 319 src/common/code_suggestions/code_suggestions_status_bar_item.test.ts 84 src/common/code_suggestions/code_suggestions_telemetry.test.ts 102 src/common/code_suggestions/code_suggestions_telemetry_manager.test.ts 194 src/common/code_suggestions/code_suggestions_token_manager.test.ts 63 src/common/code_suggestions/commands/code_suggestion_accepted.test.ts 24 src/common/code_suggestions/commands/code_suggestion_stream_accepted.test.ts 26 src/common/code_suggestions/commands/toggle.test.ts 34 src/common/code_suggestions/commands/toggle_language.test.ts 76 src/common/code_suggestions/get_stop_sequences.test.ts 31 src/common/code_suggestions/gitlab_platform_manager_for_code_suggestions.test.ts 38 src/common/code_suggestions/legacy_api_fallback_config.test.ts 50 src/common/code_suggestions/state_policy/combined_policy.test.ts 43 src/common/code_suggestions/state_policy/disabled_for_session_policy.test.ts 23 src/common/code_suggestions/state_policy/disabled_in_settings_policy.test.ts 39 src/common/code_suggestions/state_policy/language_policy.test.ts 130 src/common/code_suggestions/state_policy/language_server_policy.test.ts 177 src/common/code_suggestions/state_policy/license_status_policy.test.ts 106 src/common/code_suggestions/state_policy/minimal_gitlab_version_policy.test.ts 126 src/common/code_suggestions/state_policy/missing_account_policy.test.ts 42 src/common/code_suggestions/state_policy/passive_cache.test.ts 16 src/common/code_suggestions/state_policy/project_disabled_policy.test.ts 165 src/common/code_suggestions/state_policy/test_utils/create_fake_policy.ts 8 src/common/diagnostics/diagnostics_command.test.ts 22 src/common/diagnostics/diagnostics_document_provider.test.ts 52 src/common/diagnostics/diagnostics_service.test.ts 31 src/common/diagnostics/feature_state_diagnostics/feature_state_diagnostics_renderer.test.ts 147 src/common/diagnostics/settings_state_diagnostics/base_settings_diagnostics_renderer.test.ts 64 src/common/diagnostics/version_diagnostics/version_diagnostics_renderer.test.ts 32 src/common/duo_quick_pick/commands/show_quick_pick_menu.test.ts 214 src/common/duo_quick_pick/utils.test.ts 180 src/common/errors/fetch_error.test.ts 30 src/common/errors/handle_error.test.ts 46 src/common/errors/handle_fetch_error.test.ts 34 src/common/feature_flags/instance_feature_flag_service.test.ts 123 src/common/feature_flags/local_feature_flag_service.test.ts 102 src/common/feature_flags/test_utils/test_local_feature_flag_service.ts 21 src/common/gitlab/api/action_cable.test.ts 67 src/common/gitlab/api/api_client.test.ts 227 src/common/gitlab/api/api_timeouts.test.ts 94 src/common/gitlab/check_version.test.ts 67 src/common/language_server/language_client_middleware.test.ts 394 src/common/language_server/language_client_wrapper.test.ts 535 src/common/language_server/language_server_feature_state_provider.test.ts 84 src/common/language_server/language_server_manager.test.ts 327 src/common/language_server/serialization_utils.test.ts 43 src/common/log.test.ts 82 src/common/platform/gitlab_account.test.ts 18 src/common/quick_chat/code_actions/fix_with_duo_quick_chat_action_provider.test.ts 274 src/common/quick_chat/comment_thread_service.test.ts 287 src/common/quick_chat/quick_chat.test.ts 523 src/common/quick_chat/quick_chat_gutter_icon.test.ts 121 src/common/quick_chat/quick_chat_hint.test.ts 165 src/common/quick_chat/quick_chat_state.test.ts 590 src/common/quick_chat/response_processor.test.ts 39 src/common/quick_chat/utils.test.ts 205 src/common/security_scans/open_vulns_details.test.ts 56 src/common/security_scans/run_security_scan.test.ts 158 src/common/snowplow/emitter.test.ts 73 src/common/snowplow/get_environment.test.ts 12 src/common/snowplow/setup_telemetry.test.ts 75 src/common/snowplow/snowplow.test.ts 151 src/common/state/extension_state_service.test.ts 39 src/common/state/gitlab_instance_version_provider.test.ts 34 src/common/state/settings_state_provider.test.ts 89 src/common/state/version_state_provider.test.ts 55 src/common/supported_languages_package_json.test.ts 20 src/common/test_utils/build_supported_languages.ts 20 src/common/test_utils/create_fake_fetch_from_api.ts 15 src/common/test_utils/create_fake_partial.ts 11 src/common/test_utils/create_fake_response.ts 21 src/common/test_utils/diagnostics_configuration.ts 49 src/common/test_utils/entities.ts 60 src/common/test_utils/position.test.ts 50 src/common/test_utils/position.ts 23 src/common/test_utils/secret_storage.ts 9 src/common/test_utils/tab_input_text.ts 4 src/common/test_utils/types.ts 2 src/common/test_utils/vscode_fakes.ts 85 src/common/user_message.test.ts 57 src/common/utils/code_suggestion.test.ts 13 src/common/utils/diff_emitter.test.ts 51 src/common/utils/extension_configuration.test.ts 154 src/common/utils/extension_configuration_migrations/rename_ai_assist_to_duo.test.ts 220 src/common/utils/extension_configuration_service.test.ts 113 src/common/utils/generate_secret.test.ts 12 src/common/utils/get_configuration_target_for_key.test.ts 32 src/common/utils/if_version_gte.test.ts 24 src/common/utils/type_predicates.test.ts 27 src/common/utils/vscode_event.test.ts 55 src/common/utils/wait_for_cancellation_token.test.ts 10 src/common/utils/wait_for_ms.test.ts 9 src/common/utils/webviews/prepare_webview_source.test.ts 69 src/common/utils/webviews/wait_for_webview.test.ts 35 src/common/webview/duo_chat/duo_chat_commands.test.ts 139 src/common/webview/duo_chat/duo_chat_controller.test.ts 149 src/common/webview/duo_chat/duo_chat_handlers.test.ts 162 src/common/webview/escape_html.test.ts 8 src/common/webview/ls_webview_controller.test.ts 91 src/common/webview/message_handlers/webview_message_registry.test.ts 134 src/common/webview/message_handlers/webview_notification_handler.test.ts 58 src/common/webview/message_handlers/webview_request_handler.test.ts 60 src/common/webview/middleware.test.ts 34 src/common/webview/setup_webviews.test.ts 385 src/common/webview/theme/create_initial_state_middleware.test.ts 36 src/common/webview/theme/create_theme_handler_middleware.test.ts 117 src/common/webview/theme/theme_adapter.test.ts 55 src/desktop/accounts/account_preselection_service.test.ts 123 src/desktop/accounts/account_service.test.ts 191 src/desktop/accounts/account_status_bar_item.test.ts 140 src/desktop/accounts/auth_flows/oauth_flow.test.ts 87 src/desktop/accounts/auth_flows/pat_flow.test.ts 119 src/desktop/accounts/authenticate_command.test.ts 154 src/desktop/accounts/oauth/gitlab_authentication_provider.test.ts 60 src/desktop/accounts/remove_account.test.ts 20 src/desktop/accounts/select_workspace_account_command.test.ts 93 src/desktop/accounts/token_refresh_service.test.ts 111 src/desktop/accounts/workspace_account_manager.test.ts 130 src/desktop/ci/ansi_decoration_provider.test.ts 40 src/desktop/ci/job_log_cache.test.ts 50 src/desktop/ci/job_log_content_provider.test.ts 79 src/desktop/ci/job_log_folding_provider.test.ts 33 src/desktop/ci/job_log_refresher.test.ts 46 src/desktop/ci/job_log_uri.test.ts 12 src/desktop/ci/merged_yaml_content_provider.test.ts 61 src/desktop/ci/merged_yaml_uri.test.ts 16 src/desktop/ci/pending_job_webview_controller.test.ts 139 src/desktop/ci/save_raw_job_trace.test.ts 53 src/desktop/ci/security_finding_controller.test.ts 67 src/desktop/code_suggestions_promo.test.ts 77 src/desktop/command_names.test.ts 9 src/desktop/commands/apply_snippet_patch.test.ts 59 src/desktop/commands/checkout_mr_branch.test.ts 94 src/desktop/commands/clone_wiki.test.ts 20 src/desktop/commands/create_snippet_patch.test.ts 70 src/desktop/commands/download_artifact.test.ts 71 src/desktop/commands/job_actions.test.ts 38 src/desktop/commands/mr_discussion_commands.test.ts 192 src/desktop/commands/open_in_gitlab.test.ts 55 src/desktop/commands/open_mr_file.test.ts 42 src/desktop/commands/open_repository.test.ts 92 src/desktop/commands/openers.test.ts 58 src/desktop/commands/pipeline_actions.test.ts 35 src/desktop/commands/run_with_valid_project.test.ts 55 src/desktop/commands/trigger_pipeline_action.test.ts 55 src/desktop/commands/validate_accounts.test.ts 117 src/desktop/current_branch_refresher.test.ts 92 src/desktop/diagnostics/settings_diagnostics_renderer.test.ts 56 src/desktop/errors/help_error.test.ts 53 src/desktop/errors/insufficient_scopes_error.test.ts 12 src/desktop/errors/warning_error.test.ts 9 src/desktop/extension_state.test.ts 88 src/desktop/git/diff_line_count.test.ts 185 src/desktop/git/git_extension_wrapper.test.ts 97 src/desktop/git/git_remote_parser.test.ts 154 src/desktop/git/ls_git_provider.test.ts 67 src/desktop/git/new_git.test.ts 62 src/desktop/git/new_remote_name.test.ts 23 src/desktop/gitlab/api/get_open_merge_requests_for_branch.test.ts 13 src/desktop/gitlab/api/get_personal_access_token_details_test.ts 11 src/desktop/gitlab/api/get_pipelines_for_mr.test.ts 12 src/desktop/gitlab/api/get_pipelines_for_ref.test.ts 13 src/desktop/gitlab/ci_status_metadata.test.ts 69 src/desktop/gitlab/clone/gitlab_credentials_provider.test.ts 33 src/desktop/gitlab/clone/gitlab_remote_source.test.ts 87 src/desktop/gitlab/clone/gitlab_remote_source_repository.test.ts 46 src/desktop/gitlab/get_pipeline_and_mr_for_branch.test.ts 55 src/desktop/gitlab/get_rest_id_from_graphql_id.test.ts 14 src/desktop/gitlab/gitlab_platform_desktop.test.ts 138 src/desktop/gitlab/gitlab_project_repository.test.ts 255 src/desktop/gitlab/gitlab_service.test.ts 559 src/desktop/gitlab/gitlab_telemetry_environment_desktop.test.ts 43 src/desktop/gitlab/mr_cache.test.ts 33 src/desktop/gitlab/pick_account.test.ts 26 src/desktop/gitlab/pick_project.test.ts 98 src/desktop/gitlab/protected_branch_manager.test.ts 40 src/desktop/gitlab/protected_branch_provider.test.ts 123 src/desktop/gitlab/refreshing_gitlab_service.test.ts 26 src/desktop/gitlab/security_findings/get_all_security_reports.test.ts 181 src/desktop/gitlab/selected_project_store.test.ts 43 src/desktop/gitlab/token_exchange_service.test.ts 91 src/desktop/package_json_config_order.test.ts 49 src/desktop/remotefs/gitlab_remote_file_system.test.ts 258 src/desktop/review/change_type_decoration_provider.test.ts 30 src/desktop/review/commenting_range_provider.test.ts 70 src/desktop/review/gitlab_comment.test.ts 103 src/desktop/review/gitlab_comment_thread.test.ts 221 src/desktop/review/gql_position_parser.test.ts 55 src/desktop/review/has_comments_decoration_provider.test.ts 16 src/desktop/review/review_file_system.test.ts 46 src/desktop/review/review_uri.test.ts 36 src/desktop/review/utils/find_diff_with_path.test.ts 13 src/desktop/search_input.test.ts 272 src/desktop/status_bar.test.ts 167 src/desktop/test_utils/event_emitter.ts 19 src/desktop/test_utils/fake_git_extension.ts 106 src/desktop/test_utils/file_system_error.ts 26 src/desktop/test_utils/file_type.ts 6 src/desktop/test_utils/test_credentials.ts 5 src/desktop/test_utils/uri.ts 67 src/desktop/tree_view/current_branch_data_provider.test.ts 222 src/desktop/tree_view/issuable_data_provider.test.ts 42 src/desktop/tree_view/items/changed_file_item.test.ts 101 src/desktop/tree_view/items/changed_folder_item.test.ts 89 src/desktop/tree_view/items/custom_query_item_model.test.ts 17 src/desktop/tree_view/items/downstream_pipelines_item_model.test.ts 75 src/desktop/tree_view/items/filescan_result_item.test.ts 55 src/desktop/tree_view/items/filescan_status_item.test.ts 99 src/desktop/tree_view/items/filescan_vuln_item.test.ts 45 src/desktop/tree_view/items/job_item_model.test.ts 96 src/desktop/tree_view/items/mr_item_model.test.ts 147 src/desktop/tree_view/items/pipeline_item_model.test.ts 114 src/desktop/tree_view/items/pipeline_root_item_model.test.ts 29 src/desktop/tree_view/items/project_item_model.test.ts 33 src/desktop/tree_view/items/security/security_finding_item.test.ts 18 src/desktop/tree_view/items/security/security_finding_severity_group_item.test.ts 31 src/desktop/tree_view/items/security/security_findings_group_item.test.ts 53 src/desktop/tree_view/items/security/security_results_item_model.test.ts 84 src/desktop/tree_view/items/stage_item_model.test.ts 39 src/desktop/tree_view/remote_security_scans_data_provider.test.ts 86 src/desktop/utils/ensure_latest_promise.test.ts 25 src/desktop/utils/env_var_helpers.test.ts 72 src/desktop/utils/find_file_in_diffs.test.ts 21 src/desktop/utils/has_downloadable_artifacts.test.ts 18 src/desktop/utils/is_artifact_downloadable.test.ts 12 src/desktop/utils/make_html_links_absolute.test.ts 30 src/desktop/utils/make_markdown_links_absolute.test.ts 21 src/desktop/utils/try_parse_url.test.ts 13 src/desktop/utils/validate_intance_url.test.ts 12 src/desktop/workflow/commands.test.ts 90 src/desktop/yaml_support.test.ts 86 test/e2e/helpers/auth_helpers.js 56 test/e2e/helpers/command_palette_helpers.js 14 test/e2e/helpers/duo_chat_helpers.js 40 test/e2e/helpers/duo_workflow_helpers.js 59 test/e2e/helpers/editor_helpers.js 73 test/e2e/helpers/general_helpers.js 20 test/e2e/helpers/index.js 8 test/e2e/helpers/logger_helpers.js 14 test/e2e/helpers/notification_helpers.js 26 test/e2e/scripts/send_e2e_metrics.js 70 test/e2e/specs/authorization.e2e.js 23 test/e2e/specs/code_suggestions.e2e.js 49 test/e2e/specs/duo_chat.e2e.js 28 test/e2e/specs/duo_workflow.e2e.js 18 test/e2e/wdio.conf.js 109 test/integration/chat.test.js 116 test/integration/ci_config_lint_commands.test.js 96 test/integration/code_suggestions.test.js 82 test/integration/create_snippet.test.js 47 test/integration/duo_code_suggestions.test.js 56 test/integration/extension_settings.test.js 18 test/integration/fixtures/graphql/chat.js 41 test/integration/fixtures/graphql/code_suggestions.js 5 test/integration/fixtures/graphql/snippets.js 103 test/integration/for_current_branch.test.js 135 test/integration/git/get_tracking_branch_name.test.js 31 test/integration/gitlab_remote_source_provider.test.js 56 test/integration/index.js 31 test/integration/insert_snippet.test.js 67 test/integration/issuable_webview.test.js 114 test/integration/mr_review.test.js 209 test/integration/mr_tree_view.test.js 163 test/integration/pipeline_actions.test.js 47 test/integration/run_with_valid_project.test.js 99 test/integration/status_bar.test.js 52 test/integration/test_infrastructure/constants.ts 3 test/integration/test_infrastructure/helpers.ts 53 test/integration/test_infrastructure/in_memory_memento.ts 17 test/integration/test_infrastructure/initialize_test_environment.js 85 test/integration/test_infrastructure/mock_server.js 74 test/integration/test_infrastructure/shared_constants.js 8 test/integration/test_infrastructure/validate_test_environment.js 9 test/integration/test_infrastructure/webview_mock.js 57 test/integration/tree_view.test.js 133 test/integration/user_agent.test.js 41 test/run_test.ts 20 webviews/vue2/__mocks__/file_mock.js 1 webviews/vue2/gitlab_duo_chat/src/App.test.js 244 webviews/vue2/jest.config.js 26 webviews/vue2/jest.setup.js 5 webviews/vue3/issuable/src/components/CommentForm.test.js 73 webviews/vue3/issuable/src/components/Discussion.test.js 65 webviews/vue3/issuable/src/components/IssuableDiscussions.test.js 43 webviews/vue3/issuable/src/components/LabelNote.test.js 77 webviews/vue3/issuable/src/components/Note.test.js 46 webviews/vue3/issuable/src/components/UserAvatar.test.js 27 webviews/vue3/issuable/src/directives/safe_html/safe_html.spec.js 84 webviews/vue3/vitest.config.js 10