chore: update test

pull/11835/head
paoloricciuti 2 years ago
parent 6af1df7dae
commit dbd17fdb36

@ -0,0 +1,4 @@
<p>true</p>
<p>true</p>
<p>true</p>
<p>true</p>

@ -0,0 +1,10 @@
<script>
const obj = {};
const a = $state(obj)
const b= $state(obj)
</script>
<p>{a === obj}</p>
<p>{$state.is(a, obj)}</p>
<p>{a === b}</p>
<p>{$state.is(a, b)}</p>

@ -1,13 +0,0 @@
import "svelte/internal/disclose-version";
import * as $ from "svelte/internal/client";
export default function State_is($$anchor) {
const obj = {};
const a = $.proxy(obj);
const b = $.proxy(obj);
a === obj;
$.is(a, obj);
a === b;
$.is(a, b);
}

@ -1,12 +0,0 @@
import * as $ from "svelte/internal/server";
export default function State_is($$payload) {
const obj = {};
const a = obj;
const b = obj;
a === obj;
Object.is(a, obj);
a === b;
Object.is(a, b);
}

@ -1,10 +0,0 @@
<script>
const obj = {};
const a = $state(obj)
const b= $state(obj)
a === obj;
$state.is(a, obj);
a === b;
$state.is(a, b);
</script>
Loading…
Cancel
Save