chore: update test for empty-component-destroy

pull/7492/head
qinmu 4 years ago
parent 26d1853e88
commit 42b7683b7e

@ -1,8 +1,8 @@
<script> <script>
import { onMount } from 'svelte'; import { onDestroy } from 'svelte';
onMount(() => { onDestroy(() => {
return () => console.log('destroy'); console.log('destroy');
}); });
</script> </script>

Loading…
Cancel
Save