Skip to content

Commit

Permalink
(chore) fixup browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed May 20, 2023
1 parent 38966a8 commit d27be50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/highlight_block_callbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('after:highlightElement', function() {
});

this.hljs.highlightElement(this.block);
this.block.outerHTML.should.equal(`<code class="language-javascript hljs">redacted</code>`);
this.block.outerHTML.should.equal(`<code class="language-javascript hljs" data-highlighted="yes">redacted</code>`);
})
})

Expand Down

0 comments on commit d27be50

Please sign in to comment.