summaryrefslogtreecommitdiffhomepage
path: root/gui/test/unit
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-11-29 10:03:12 +0100
committerOskar Nyberg <oskar@mullvad.net>2022-11-29 10:03:12 +0100
commitdcd158ed864389b8905715321bfb2d41dc319fad (patch)
tree0c8e104bee3202302e65c3080bf13997c3af4c31 /gui/test/unit
parent10142a6a52768c374d62c99addcd80d5a07f44b9 (diff)
parenta33c4337ebe200739e737b465f55fd35068b59ae (diff)
downloadmullvadvpn-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.ts6
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);