diff --git a/test/48.js b/test/48.js new file mode 100644 index 0000000..53fd1fb --- /dev/null +++ b/test/48.js @@ -0,0 +1,14 @@ +const { parse } = require('../dist'); + +describe.only('issue 48', function () { + it('get decoded text', function () { + const root = parse('
The king's hat is on fire!
'); + const div = root.querySelector('div'); + div.text.should.eql('The king\'s hat is on fire!'); + }); + it('get decoded text2', function () { + const root = parse('
The king's hat is on fire!
'); + const div = root.querySelector('div'); + div.text.should.eql('The king\'s hat is on fire!'); + }); +});