Upgrade QUnit to latest version

This commit is contained in:
Robin Ward
2017-06-14 13:57:58 -04:00
parent 8ae445766f
commit cc525b1a8d
145 changed files with 7569 additions and 6763 deletions

View File

@ -13,11 +13,11 @@ const defaultOpts = buildOptions({
getURL: url => url
});
function cooked(input, expected, text) {
equal(new PrettyText(defaultOpts).cook(input), expected.replace(/\/>/g, ">"), text);
};
test("details", () => {
test("details", assert => {
const cooked = (input, expected, text) => {
assert.equal(new PrettyText(defaultOpts).cook(input), expected.replace(/\/>/g, ">"), text);
};
cooked(`<details><summary>Info</summary>coucou</details>`,
`<details><summary>Info</summary>\n\n<p>coucou</p>\n\n</details>`,
"manual HTML for details");