fix failing test

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

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

Loading…
Cancel
Save