diff options
Diffstat (limited to 'gui/test')
| -rw-r--r-- | gui/test/unit/history.spec.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/test/unit/history.spec.ts b/gui/test/unit/history.spec.ts index e59a2bee45..03eabd80cc 100644 --- a/gui/test/unit/history.spec.ts +++ b/gui/test/unit/history.spec.ts @@ -58,7 +58,7 @@ describe('History', () => { }); it('should go backward to base path', () => { - history.dismiss(true); + history.pop(true); expect(history.location.pathname).to.equal(BASE_PATH); expect(history.length).to.equal(1); }); @@ -77,7 +77,7 @@ describe('History', () => { const listenerB = spy(); history.listen(listenerB); - history.dismiss(true); + history.pop(true); history.push(FIRST_PATH); expect(listenerA).to.have.been.called.exactly(4); @@ -92,7 +92,7 @@ describe('History', () => { const listenerB = spy(); history.listen(listenerB); - history.dismiss(true); + history.pop(true); removeListenerA(); history.push(FIRST_PATH); |
