mirror of https://github.com/sveltejs/svelte
parent
0c914eb185
commit
1988ba4345
@ -0,0 +1,8 @@
|
||||
import { flushSync } from 'svelte';
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
test({ assert, logs, target }) {
|
||||
assert.deepEqual(logs, ['hello']);
|
||||
}
|
||||
});
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
let stuff = $state({
|
||||
[Symbol()]: () => console.log('hello')
|
||||
});
|
||||
</script>
|
||||
|
||||
<div {...stuff}></div>
|
Loading…
Reference in new issue