From f9f8f187811613e85af0ce656386e9578d0563cd Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 18 May 2024 21:55:14 +0200 Subject: [PATCH] helper interacts with rawText call --- js/test/TopNav.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/test/TopNav.js b/js/test/TopNav.js index 008b2ba0..1efb83e8 100644 --- a/js/test/TopNav.js +++ b/js/test/TopNav.js @@ -735,6 +735,7 @@ describe('TopNav', function () { $('body').html(''); const sample = 'example'; $.PrivateBin.PasteViewer.setText(sample); + $.PrivateBin.Helper.reset(); $.PrivateBin.TopNav.init(); $('#rawtextbutton').click(); assert.equal($('pre').text(), sample);