From b079bb57c23927e75395aaf1f23deb9d8f6a444c Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 26 Nov 2020 10:42:12 +0100 Subject: [PATCH] test: remove unnecessary decodeURI [skip ci] --- e2e/scroll-behavior/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/scroll-behavior/index.ts b/e2e/scroll-behavior/index.ts index 61391e62..33bddbf7 100644 --- a/e2e/scroll-behavior/index.ts +++ b/e2e/scroll-behavior/index.ts @@ -40,7 +40,7 @@ const scrollBehavior: RouterScrollBehavior = async function ( // scroll to anchor by returning the selector if (to.hash) { - position = { el: decodeURI(to.hash), behavior } + position = { el: to.hash, behavior } // specify offset of the element if (to.hash === '#anchor2') { -- 2.47.3