Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-04 03:07:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-04 03:07:28 +0300
commit04b866f03b967470e20d5dd106fd493bebe40909 (patch)
treef118a6549de91f7f59b03ae180ded283349a24dc /spec/frontend/vue_shared/components
parentcd353f0da2c1c9a6cdfe0a92f5f3236971ffaf9f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components')
-rw-r--r--spec/frontend/vue_shared/components/source_viewer/source_viewer_new_spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/frontend/vue_shared/components/source_viewer/source_viewer_new_spec.js b/spec/frontend/vue_shared/components/source_viewer/source_viewer_new_spec.js
index da86d5443bf..ee7164515f6 100644
--- a/spec/frontend/vue_shared/components/source_viewer/source_viewer_new_spec.js
+++ b/spec/frontend/vue_shared/components/source_viewer/source_viewer_new_spec.js
@@ -133,6 +133,8 @@ describe('Source Viewer component', () => {
expect(blameDataQueryHandlerSuccess).toHaveBeenCalledWith(
expect.objectContaining({ fromLine: 1, toLine: 70 }),
);
+
+ expect(findChunks().at(0).props('isHighlighted')).toBe(true);
});
it('does not render a Blame component when `showBlame: false`', async () => {