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);