Открыть боковую панель
GitLab.org
Gitlab
Коммиты
38f2ba2b
Коммит
38f2ba2b
создал
Май 09, 2023
по автору
Miguel Rincon
Зафиксировано автором
Anna Vovchenko
Май 09, 2023
Просмотр файлов
Add value to file mock
владелец
f3949d65
Изменения
13
Скрыть пробелы
Построчно
Рядом
ee/spec/frontend/analytics/code_review_analytics/components/__snapshots__/merge_request_table_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -144,7 +144,7 @@ exports[`MergeRequestTable component template matches the snapshot 1`] = `
...
@@ -144,7 +144,7 @@ exports[`MergeRequestTable component template matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#clock"
href="
file-mock
#clock"
/>
/>
</svg>
</svg>
...
...
ee/spec/frontend/boards/components/__snapshots__/board_content_sidebar_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -138,7 +138,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -138,7 +138,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-unknown"
href="
file-mock
#severity-unknown"
/>
/>
</svg>
</svg>
...
@@ -167,7 +167,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -167,7 +167,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-unknown"
href="
file-mock
#severity-unknown"
/>
/>
</svg>
</svg>
...
@@ -216,7 +216,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -216,7 +216,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#chevron-down"
href="
file-mock
#chevron-down"
/>
/>
</svg>
</svg>
</button>
</button>
...
@@ -266,7 +266,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -266,7 +266,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#mobile-issue-close"
href="
file-mock
#mobile-issue-close"
/>
/>
</svg>
</svg>
...
@@ -290,7 +290,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -290,7 +290,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-critical"
href="
file-mock
#severity-critical"
/>
/>
</svg>
</svg>
...
@@ -327,7 +327,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -327,7 +327,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#mobile-issue-close"
href="
file-mock
#mobile-issue-close"
/>
/>
</svg>
</svg>
...
@@ -351,7 +351,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -351,7 +351,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-high"
href="
file-mock
#severity-high"
/>
/>
</svg>
</svg>
...
@@ -388,7 +388,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -388,7 +388,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#mobile-issue-close"
href="
file-mock
#mobile-issue-close"
/>
/>
</svg>
</svg>
...
@@ -412,7 +412,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -412,7 +412,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-medium"
href="
file-mock
#severity-medium"
/>
/>
</svg>
</svg>
...
@@ -449,7 +449,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -449,7 +449,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#mobile-issue-close"
href="
file-mock
#mobile-issue-close"
/>
/>
</svg>
</svg>
...
@@ -473,7 +473,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -473,7 +473,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-low"
href="
file-mock
#severity-low"
/>
/>
</svg>
</svg>
...
@@ -510,7 +510,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -510,7 +510,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#mobile-issue-close"
href="
file-mock
#mobile-issue-close"
/>
/>
</svg>
</svg>
...
@@ -534,7 +534,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
...
@@ -534,7 +534,7 @@ exports[`ee/BoardContentSidebar incident sidebar matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#severity-unknown"
href="
file-mock
#severity-unknown"
/>
/>
</svg>
</svg>
...
...
ee/spec/frontend/environments_dashboard/components/__snapshots__/environment_header_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -109,7 +109,7 @@ exports[`Environment Header renders name and link to app matches the snapshot 1`
...
@@ -109,7 +109,7 @@ exports[`Environment Header renders name and link to app matches the snapshot 1`
role="img"
role="img"
>
>
<use
<use
href="#external-link"
href="
file-mock
#external-link"
/>
/>
</svg>
</svg>
</span>
</span>
...
...
ee/spec/frontend/issuable/linked_resources/components/__snapshots__/resource_links_list_item_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -17,7 +17,7 @@ exports[`ResourceLinkItem template matches the snapshot 1`] = `
...
@@ -17,7 +17,7 @@ exports[`ResourceLinkItem template matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#brand-zoom"
href="
file-mock
#brand-zoom"
/>
/>
</svg>
</svg>
...
@@ -47,7 +47,7 @@ exports[`ResourceLinkItem template matches the snapshot 1`] = `
...
@@ -47,7 +47,7 @@ exports[`ResourceLinkItem template matches the snapshot 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#close"
href="
file-mock
#close"
/>
/>
</svg>
</svg>
...
...
ee/spec/frontend/oncall_schedule/schedule/components/__snapshots__/rotations_list_section_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -39,7 +39,7 @@ exports[`RotationsListSectionComponent when the timeframe includes today renders
...
@@ -39,7 +39,7 @@ exports[`RotationsListSectionComponent when the timeframe includes today renders
role="img"
role="img"
>
>
<use
<use
href="#pencil"
href="
file-mock
#pencil"
/>
/>
</svg>
</svg>
...
@@ -61,7 +61,7 @@ exports[`RotationsListSectionComponent when the timeframe includes today renders
...
@@ -61,7 +61,7 @@ exports[`RotationsListSectionComponent when the timeframe includes today renders
role="img"
role="img"
>
>
<use
<use
href="#remove"
href="
file-mock
#remove"
/>
/>
</svg>
</svg>
...
...
ee/spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -110,7 +110,7 @@ exports[`Learn GitLab renders correctly 1`] = `
...
@@ -110,7 +110,7 @@ exports[`Learn GitLab renders correctly 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#check-circle-filled"
href="
file-mock
#check-circle-filled"
/>
/>
</svg>
</svg>
...
@@ -187,7 +187,7 @@ exports[`Learn GitLab renders correctly 1`] = `
...
@@ -187,7 +187,7 @@ exports[`Learn GitLab renders correctly 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#check-circle-filled"
href="
file-mock
#check-circle-filled"
/>
/>
</svg>
</svg>
...
@@ -213,7 +213,7 @@ exports[`Learn GitLab renders correctly 1`] = `
...
@@ -213,7 +213,7 @@ exports[`Learn GitLab renders correctly 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#check-circle-filled"
href="
file-mock
#check-circle-filled"
/>
/>
</svg>
</svg>
...
...
ee/spec/frontend/vue_merge_request_widget/extensions/license_compliance/__snapshots__/index_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -102,7 +102,7 @@ exports[`License Compliance extension expanded data with new licenses displays a
...
@@ -102,7 +102,7 @@ exports[`License Compliance extension expanded data with new licenses displays a
role="img"
role="img"
>
>
<use
<use
href="#status-success"
href="
file-mock
#status-success"
/>
/>
</svg>
</svg>
</div>
</div>
...
@@ -291,7 +291,7 @@ exports[`License Compliance extension expanded data with new licenses displays d
...
@@ -291,7 +291,7 @@ exports[`License Compliance extension expanded data with new licenses displays d
role="img"
role="img"
>
>
<use
<use
href="#status-failed"
href="
file-mock
#status-failed"
/>
/>
</svg>
</svg>
</div>
</div>
...
@@ -466,7 +466,7 @@ exports[`License Compliance extension expanded data with new licenses displays u
...
@@ -466,7 +466,7 @@ exports[`License Compliance extension expanded data with new licenses displays u
role="img"
role="img"
>
>
<use
<use
href="#status-alert"
href="
file-mock
#status-alert"
/>
/>
</svg>
</svg>
</div>
</div>
...
...
spec/frontend/__mocks__/file_mock.js
Просмотр файла @
38f2ba2b
export
default
''
;
export
default
'
file-mock
'
;
spec/frontend/comment_templates/components/__snapshots__/list_item_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -38,7 +38,7 @@ exports[`Comment templates list item component renders list item 1`] = `
...
@@ -38,7 +38,7 @@ exports[`Comment templates list item component renders list item 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#ellipsis_v"
href="
file-mock
#ellipsis_v"
/>
/>
</svg>
</svg>
...
...
spec/frontend/jira_import/components/__snapshots__/jira_import_form_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -76,7 +76,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -76,7 +76,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#arrow-right"
href="
file-mock
#arrow-right"
/>
/>
</svg>
</svg>
</td>
</td>
...
@@ -113,7 +113,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -113,7 +113,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#chevron-down"
href="
file-mock
#chevron-down"
/>
/>
</svg>
</svg>
</button>
</button>
...
@@ -144,7 +144,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -144,7 +144,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#search"
href="
file-mock
#search"
/>
/>
</svg>
</svg>
...
@@ -201,7 +201,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -201,7 +201,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#arrow-right"
href="
file-mock
#arrow-right"
/>
/>
</svg>
</svg>
</td>
</td>
...
@@ -238,7 +238,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -238,7 +238,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#chevron-down"
href="
file-mock
#chevron-down"
/>
/>
</svg>
</svg>
</button>
</button>
...
@@ -269,7 +269,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
...
@@ -269,7 +269,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
role="img"
role="img"
>
>
<use
<use
href="#search"
href="
file-mock
#search"
/>
/>
</svg>
</svg>
...
...
spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -42,7 +42,7 @@ exports[`PypiInstallation renders all the messages 1`] = `
...
@@ -42,7 +42,7 @@ exports[`PypiInstallation renders all the messages 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#chevron-down"
href="
file-mock
#chevron-down"
/>
/>
</svg>
</svg>
</button>
</button>
...
@@ -122,7 +122,7 @@ exports[`PypiInstallation renders all the messages 1`] = `
...
@@ -122,7 +122,7 @@ exports[`PypiInstallation renders all the messages 1`] = `
role="img"
role="img"
>
>
<use
<use
href="#copy-to-clipboard"
href="
file-mock
#copy-to-clipboard"
/>
/>
</svg>
</svg>
...
...
spec/frontend/vue_shared/components/__snapshots__/expand_button_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -17,7 +17,7 @@ exports[`Expand button on click when short text is provided renders button after
...
@@ -17,7 +17,7 @@ exports[`Expand button on click when short text is provided renders button after
role="img"
role="img"
>
>
<use
<use
href="#ellipsis_h"
href="
file-mock
#ellipsis_h"
/>
/>
</svg>
</svg>
...
@@ -47,7 +47,7 @@ exports[`Expand button on click when short text is provided renders button after
...
@@ -47,7 +47,7 @@ exports[`Expand button on click when short text is provided renders button after
role="img"
role="img"
>
>
<use
<use
href="#ellipsis_h"
href="
file-mock
#ellipsis_h"
/>
/>
</svg>
</svg>
...
@@ -72,7 +72,7 @@ exports[`Expand button when short text is provided renders button before text 1`
...
@@ -72,7 +72,7 @@ exports[`Expand button when short text is provided renders button before text 1`
role="img"
role="img"
>
>
<use
<use
href="#ellipsis_h"
href="
file-mock
#ellipsis_h"
/>
/>
</svg>
</svg>
...
@@ -102,7 +102,7 @@ exports[`Expand button when short text is provided renders button before text 1`
...
@@ -102,7 +102,7 @@ exports[`Expand button when short text is provided renders button before text 1`
role="img"
role="img"
>
>
<use
<use
href="#ellipsis_h"
href="
file-mock
#ellipsis_h"
/>
/>
</svg>
</svg>
...
...
spec/frontend/vue_shared/issuable/__snapshots__/issuable_blocked_icon_spec.js.snap
Просмотр файла @
38f2ba2b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
exports[`IssuableBlockedIcon on mouseenter on blocked icon with more than three blocking issues matches the snapshot 1`] = `
exports[`IssuableBlockedIcon on mouseenter on blocked icon with more than three blocking issues matches the snapshot 1`] = `
"<div class=\\"gl-display-inline\\"><svg data-testid=\\"issuable-blocked-icon\\" role=\\"img\\" aria-hidden=\\"true\\" class=\\"issuable-blocked-icon gl-mr-2 gl-cursor-pointer gl-text-red-500 gl-icon s16\\" id=\\"blocked-icon-uniqueId\\">
"<div class=\\"gl-display-inline\\"><svg data-testid=\\"issuable-blocked-icon\\" role=\\"img\\" aria-hidden=\\"true\\" class=\\"issuable-blocked-icon gl-mr-2 gl-cursor-pointer gl-text-red-500 gl-icon s16\\" id=\\"blocked-icon-uniqueId\\">
<use href=\\"#issue-block\\"></use>
<use href=\\"
file-mock
#issue-block\\"></use>
</svg>
</svg>
<div class=\\"gl-popover\\">
<div class=\\"gl-popover\\">
<ul class=\\"gl-list-style-none gl-p-0 gl-mb-0\\">
<ul class=\\"gl-list-style-none gl-p-0 gl-mb-0\\">
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать