diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-16 15:12:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-16 15:12:38 +0300 |
commit | 93fb07b8c9edb0f3e860d7670b47e03a136d1a57 (patch) | |
tree | 3a0def9b247850b5510e11faafd628101bb9c06f /spec/frontend_integration/fly_out_nav_browser_spec.js | |
parent | d75ac09b4a880ba2d36d510a5720dd550b0809e9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend_integration/fly_out_nav_browser_spec.js')
-rw-r--r-- | spec/frontend_integration/fly_out_nav_browser_spec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/frontend_integration/fly_out_nav_browser_spec.js b/spec/frontend_integration/fly_out_nav_browser_spec.js index 47f3c6a0ac2..07ddc0220e6 100644 --- a/spec/frontend_integration/fly_out_nav_browser_spec.js +++ b/spec/frontend_integration/fly_out_nav_browser_spec.js @@ -308,19 +308,19 @@ describe('Fly out sidebar navigation', () => { describe('canShowSubItems', () => { it('returns true if on desktop size', () => { - expect(canShowSubItems()).toBeTruthy(); + expect(canShowSubItems()).toBe(true); }); it('returns false if on mobile size', () => { breakpointSize = 'xs'; - expect(canShowSubItems()).toBeFalsy(); + expect(canShowSubItems()).toBe(false); }); }); describe('canShowActiveSubItems', () => { it('returns true by default', () => { - expect(canShowActiveSubItems(el)).toBeTruthy(); + expect(canShowActiveSubItems(el)).toBe(true); }); it('returns false when active & expanded sidebar', () => { @@ -329,7 +329,7 @@ describe('Fly out sidebar navigation', () => { setSidebar(sidebar); - expect(canShowActiveSubItems(el)).toBeFalsy(); + expect(canShowActiveSubItems(el)).toBe(false); }); it('returns true when active & collapsed sidebar', () => { @@ -339,7 +339,7 @@ describe('Fly out sidebar navigation', () => { setSidebar(sidebar); - expect(canShowActiveSubItems(el)).toBeTruthy(); + expect(canShowActiveSubItems(el)).toBe(true); }); }); |