diff --git a/test/unittests.html b/test/unittests.html index 292bd165..5e92e323 100644 --- a/test/unittests.html +++ b/test/unittests.html @@ -19,7 +19,23 @@ diff --git a/test/unittests.js b/test/unittests.js index 24015b74..e54454d8 100644 --- a/test/unittests.js +++ b/test/unittests.js @@ -36,13 +36,6 @@ describe('Unit Tests', function () { openpgp.config.s2k_iteration_count_byte = 0; openpgp.config.indutny_elliptic_path = '../dist/elliptic.min.js'; - afterEach(function () { - if (window.scrollY >= document.body.scrollHeight - window.innerHeight - 100 - || openpgp.config.ci) { - window.scrollTo(0, document.body.scrollHeight); - } - }); - window.location.search.substr(1).split('&').forEach(param => { const [key, value] = param.split('='); if (key && key !== 'grep') {