#120: hide active popup on route transition

This commit is contained in:
SleepWalker
2016-07-26 22:28:58 +03:00
parent 04a1022011
commit eb3d436843
2 changed files with 18 additions and 5 deletions

View File

@@ -124,7 +124,7 @@ describe('<PopupStack />', () => {
sinon.assert.calledOnce(props.destroy);
});
it('should hide first popup in stack', () => {
it('should hide first popup in stack if esc pressed', () => {
const props = {
destroy: sinon.stub(),
popups: [