diff options
Diffstat (limited to 'spec/frontend/notifications/components/notifications_dropdown_spec.js')
-rw-r--r-- | spec/frontend/notifications/components/notifications_dropdown_spec.js | 8 |
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', () => { |