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:
Diffstat (limited to 'spec/frontend/notifications/components/notifications_dropdown_spec.js')
-rw-r--r--spec/frontend/notifications/components/notifications_dropdown_spec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/notifications/components/notifications_dropdown_spec.js b/spec/frontend/notifications/components/notifications_dropdown_spec.js
index e12251ce6d9..7ca6c2052ae 100644
--- a/spec/frontend/notifications/components/notifications_dropdown_spec.js
+++ b/spec/frontend/notifications/components/notifications_dropdown_spec.js
@@ -195,6 +195,14 @@ describe('NotificationsDropdown', () => {
);
});
});
+
+ it('passes provided `noFlip` value to `GlDropdown`', () => {
+ wrapper = createComponent({
+ noFlip: true,
+ });
+
+ expect(findDropdown().attributes('no-flip')).toBe('true');
+ });
});
describe('when selecting an item', () => {