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 c6c1d877_6a20_1faa_f961_f9160683e11a["default.test()"] 024c198d_cfb8_a73f_a2d5_0b4e228a8907["_config.js"] c6c1d877_6a20_1faa_f961_f9160683e11a -->|defined in| 024c198d_cfb8_a73f_a2d5_0b4e228a8907 style c6c1d877_6a20_1faa_f961_f9160683e11a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/runtime-runes/samples/mathml-namespace-infer/_config.js lines 14–26
test({ assert, target }) {
const math = target.querySelector('math');
ok(math);
assert.equal(math.namespaceURI, 'http://www.w3.org/1998/Math/MathML');
const mrow_elements = target.querySelectorAll('mrow');
assert.equal(mrow_elements.length, 6);
for (const { namespaceURI } of mrow_elements)
assert.equal(namespaceURI, 'http://www.w3.org/1998/Math/MathML');
}
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/mathml-namespace-infer/_config.js.
Where is default.test() defined?
default.test() is defined in packages/svelte/tests/runtime-runes/samples/mathml-namespace-infer/_config.js at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free