fix failing test

pull/16626/head
ComputerGuy 3 weeks ago
parent 357145f7eb
commit 157b7ac341

@ -1,21 +1,15 @@
<script>
class A {
toJSON(){
return {
a: this
}
constructor() {
this.a = this;
}
}
const state = $state(new A());
$inspect(state);
class B {
toJSON(){
return {
a: {
b: this
}
}
constructor() {
this.a = { b: this };
}
}
const state2 = $state(new B());

Loading…
Cancel
Save