export default { compileOptions: { preserveWhitespace: true }, test({ assert, target }) { // Test for
tag const elementPre = target.querySelector('#pre'); // Test for nontag const elementDiv = target.querySelector('#div'); // Test fortag in nontag const elementDivWithPre = target.querySelector('#div-with-pre'); assert.equal( elementPre.innerHTML, ` A B C D E F ` ); assert.equal( elementDiv.innerHTML, ` A B C D E F ` ); assert.equal( elementDivWithPre.innerHTML, `A B C D E F
` ); } };