helper interacts with rawText call
This commit is contained in:
parent
5e5b394291
commit
f9f8f18781
1 changed files with 1 additions and 0 deletions
|
@ -735,6 +735,7 @@ describe('TopNav', function () {
|
||||||
$('body').html('<button id="rawtextbutton"></button>');
|
$('body').html('<button id="rawtextbutton"></button>');
|
||||||
const sample = 'example';
|
const sample = 'example';
|
||||||
$.PrivateBin.PasteViewer.setText(sample);
|
$.PrivateBin.PasteViewer.setText(sample);
|
||||||
|
$.PrivateBin.Helper.reset();
|
||||||
$.PrivateBin.TopNav.init();
|
$.PrivateBin.TopNav.init();
|
||||||
$('#rawtextbutton').click();
|
$('#rawtextbutton').click();
|
||||||
assert.equal($('pre').text(), sample);
|
assert.equal($('pre').text(), sample);
|
||||||
|
|
Loading…
Reference in a new issue