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 e5a9b419_fcdf_41dd_3672_cf9c20392cbf["default.test()"] 1be1e6af_8a62_74e9_c658_f9971694cb89["_config.js"] e5a9b419_fcdf_41dd_3672_cf9c20392cbf -->|defined in| 1be1e6af_8a62_74e9_c658_f9971694cb89 style e5a9b419_fcdf_41dd_3672_cf9c20392cbf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/runtime-runes/samples/async-no-pending-await-in-block/_config.js lines 21–32
async test({ assert, target }) {
await tick();
assert.htmlEqual(
target.innerHTML,
`
<h1>hello from the browser</h1>
<h2>hello from the browser</h2>
<h3>hello from the browser</h3>
`
);
}
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/async-no-pending-await-in-block/_config.js.
Where is default.test() defined?
default.test() is defined in packages/svelte/tests/runtime-runes/samples/async-no-pending-await-in-block/_config.js at line 21.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free