Move open parent and open root to background
This commit is contained in:
parent
e779fb1779
commit
8d0739463d
8 changed files with 108 additions and 57 deletions
|
@ -132,13 +132,4 @@ describe('NavigationPresenter', () => {
|
|||
'<a href="#dummy">next page</a><a rel="next" href="#next">click me</a>'
|
||||
));
|
||||
});
|
||||
|
||||
describe('#parent', () => {
|
||||
// NOTE: not able to test location
|
||||
it('removes hash', () => {
|
||||
window.location.hash = '#section-1';
|
||||
sut.openParent();
|
||||
expect(document.location.hash).to.be.empty;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Reference in a new issue