const test = require("ava"); const CharacterWrap = require("../src/CharacterWrap"); test("CharacterWrap", async t => { let wrapper = new CharacterWrap(); t.is(wrapper.wrapContent("", "html"), `
<html></html>
`); }); test("CharacterWrap with different class prefix", async t => { let wrapper = new CharacterWrap(); wrapper.setClassPrefix("customprefix"); t.is(wrapper.wrapContent("", "html"), `
<html></html>
`); });