diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-20 15:25:56 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-23 17:07:11 +0200 |
| commit | c33954384aaad13fbc8610e46431b4d041ce0a31 (patch) | |
| tree | 8a74b8a486b0f6b1a074b923c155d6aa0f4e8f6b /test/components | |
| parent | d258c7614f6c41c6f78939e9d47edff2d44af19f (diff) | |
| download | mullvadvpn-c33954384aaad13fbc8610e46431b4d041ce0a31.tar.xz mullvadvpn-c33954384aaad13fbc8610e46431b4d041ce0a31.zip | |
Remove "hidden" prop from HeaderBar
Diffstat (limited to 'test/components')
| -rw-r--r-- | test/components/HeaderBar.spec.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/components/HeaderBar.spec.js b/test/components/HeaderBar.spec.js index a8eca00d53..09eab134ad 100644 --- a/test/components/HeaderBar.spec.js +++ b/test/components/HeaderBar.spec.js @@ -5,22 +5,6 @@ import { shallow } from 'enzyme'; import HeaderBar from '../../app/components/HeaderBar'; describe('components/HeaderBar', () => { - it('should display headerbar', () => { - const component = render({ - hidden: false, - }); - const hasChildMatching = hasChild(component, 'headerbar__container'); - expect(hasChildMatching).to.be.true; - }); - - it('should not display headerbar', () => { - const component = render({ - hidden: true, - }); - const hasChildMatching = hasChild(component, 'headerbar__container'); - expect(hasChildMatching).to.be.false; - }); - it('should display settings button', () => { const component = render({ showSettings: true, |
