actually this test should fail

pull/7738/head
Richard Harris 6 years ago
parent 6886d3260f
commit 525e4c8853

@ -6,5 +6,11 @@ export default {
async test({ assert, component, target }) {
await component.remove();
assert.htmlEqual(target.innerHTML, ``);
await component.add();
assert.htmlEqual(target.innerHTML, `<p>hello</p>`);
await component.remove();
assert.htmlEqual(target.innerHTML, ``);
}
};

@ -3,6 +3,10 @@
let items = [1];
export function add() {
items = [1];
}
export function remove() {
items = [];
}

Loading…
Cancel
Save