mirror of https://github.com/sveltejs/svelte
parent
1736498bde
commit
d6962b3ff1
@ -1,7 +1,7 @@
|
|||||||
export default {
|
export default {
|
||||||
test ( assert, component ) {
|
test ( assert, component ) {
|
||||||
assert.deepEqual( component.events, [ 'render' ]);
|
assert.deepEqual( component.events, [ 'render' ]);
|
||||||
component.teardown();
|
component.destroy();
|
||||||
assert.deepEqual( component.events, [ 'render', 'teardown' ]);
|
assert.deepEqual( component.events, [ 'render', 'teardown' ]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in new issue