default.test() — svelte Function Reference
Architecture documentation for the default.test() function in _config.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7561662b_1549_5e08_3ca8_700bef4a4678["default.test()"] 6cb6c0ea_7e5b_bff3_f158_ab1737b6fa18["_config.js"] 7561662b_1549_5e08_3ca8_700bef4a4678 -->|defined in| 6cb6c0ea_7e5b_bff3_f158_ab1737b6fa18 style 7561662b_1549_5e08_3ca8_700bef4a4678 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/runtime-runes/samples/snippet-deconflict/_config.js lines 7–23
test({ assert, target }) {
const btn = target.querySelector('button');
btn?.click();
btn?.click();
btn?.click();
flushSync();
assert.htmlEqual(
target.innerHTML,
`
<button>push</button><div style="display: grid; grid-template-columns: 1fr 1fr"><div><p style="color: red">1</p><p style="color: red">2</p><p style="color: red">3</p>
<p style="color: red">4</p><p style="color: red">5</p><p style="color: red">6</p></div><div><p style="color: blue">1</p><p style="color: blue">2</p><p style="color: blue">3</p>
<p style="color: blue">4</p><p style="color: blue">5</p><p style="color: blue">6</p></div></div>
`
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does default.test() do?
default.test() is a function in the svelte codebase, defined in packages/svelte/tests/runtime-runes/samples/snippet-deconflict/_config.js.
Where is default.test() defined?
default.test() is defined in packages/svelte/tests/runtime-runes/samples/snippet-deconflict/_config.js at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free