MCPcopy
hub / github.com/sveltejs/svelte / snapshot

Function snapshot

packages/svelte/tests/hydration/samples/raw/_config.js:8–17  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

6 },
7
8 snapshot(target) {
9 const ps = target.querySelectorAll('p');
10
11 return {
12 p0: ps[0],
13 text0: ps[0].firstChild,
14 p1: ps[1],
15 text1: ps[1].firstChild
16 };
17 }
18});

Callers 1

test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected