diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-11-29 10:03:12 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-11-29 10:03:12 +0100 |
| commit | dcd158ed864389b8905715321bfb2d41dc319fad (patch) | |
| tree | 0c8e104bee3202302e65c3080bf13997c3af4c31 /gui/test/unit | |
| parent | 10142a6a52768c374d62c99addcd80d5a07f44b9 (diff) | |
| parent | a33c4337ebe200739e737b465f55fd35068b59ae (diff) | |
| download | mullvadvpn-dcd158ed864389b8905715321bfb2d41dc319fad.tar.xz mullvadvpn-dcd158ed864389b8905715321bfb2d41dc319fad.zip | |
Merge branch 'fix-animation-on-escape'
Diffstat (limited to 'gui/test/unit')
| -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); |
