From c707c87cac67359b99349f40c776c8d301f2bf2a Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 27 Jun 2019 21:37:40 +0200 Subject: [PATCH] addressing rngState 0ef2c5e06719a8b43d --- js/test/PasteStatus.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/test/PasteStatus.js b/js/test/PasteStatus.js index 7479ae1..22d1391 100644 --- a/js/test/PasteStatus.js +++ b/js/test/PasteStatus.js @@ -4,9 +4,6 @@ var common = require('../common'); describe('PasteStatus', function () { describe('createPasteNotification', function () { this.timeout(30000); - before(function () { - cleanup(); - }); jsc.property( 'creates a notification after a successfull paste upload', @@ -24,7 +21,7 @@ describe('PasteStatus', function () { var expected1 = schema1 + '://' + address1.join('') + '/?' + encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1), expected2 = schema2 + '://' + address2.join('') + '/?' + - encodeURI(query2.join('')), + encodeURI(query2.join('').replace(/^&+|&+$/gm,'')), clean = jsdom(); $('body').html('
'); $.PrivateBin.PasteStatus.init();