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-04-14 09:18:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 09:18:27 +0300
commitc192f26df39e9a2ab122c2d097b86e461599bde8 (patch)
tree405f7ce164bcf33ce178699048b137a8712990a0 /spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js
parent361def36660a93176d8cb32fb47412dbb1100c2b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js')
-rw-r--r--spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js b/spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js
index 3807bb4cc63..f5da498a205 100644
--- a/spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js
+++ b/spec/frontend/vue_shared/components/tooltip_on_truncate_spec.js
@@ -79,12 +79,12 @@ describe('TooltipOnTruncate component', () => {
};
describe('when truncated', () => {
- beforeEach(async () => {
+ beforeEach(() => {
hasHorizontalOverflow.mockReturnValueOnce(true);
createComponent();
});
- it('renders tooltip', async () => {
+ it('renders tooltip', () => {
expect(hasHorizontalOverflow).toHaveBeenLastCalledWith(wrapper.element);
expect(getTooltipValue()).toStrictEqual({
title: MOCK_TITLE,
@@ -96,7 +96,7 @@ describe('TooltipOnTruncate component', () => {
});
describe('with default target', () => {
- beforeEach(async () => {
+ beforeEach(() => {
hasHorizontalOverflow.mockReturnValueOnce(false);
createComponent();
});