From: Eduardo San Martin Morote Date: Thu, 26 Nov 2020 09:42:12 +0000 (+0100) Subject: test: remove unnecessary decodeURI [skip ci] X-Git-Tag: v4.0.0-rc.6~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b079bb57c23927e75395aaf1f23deb9d8f6a444c;p=thirdparty%2Fvuejs%2Frouter.git test: remove unnecessary decodeURI [skip ci] --- 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') {