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