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 711c2a7e_5846_8ac3_8bae_954b40a13a57["default.test()"] 99c28bb8_b2b4_a091_7bb4_732d27af2adb["_config.js"] 711c2a7e_5846_8ac3_8bae_954b40a13a57 -->|defined in| 99c28bb8_b2b4_a091_7bb4_732d27af2adb style 711c2a7e_5846_8ac3_8bae_954b40a13a57 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/runtime-legacy/samples/reactive-values-subscript-assignment/_config.js lines 4–12
test({ assert, component }) {
assert.deepEqual(component.foo, {});
component.bar = 'hello';
assert.deepEqual(component.foo, { hello: true });
component.bar = 'world';
assert.deepEqual(component.foo, { hello: true, world: true });
component.bar = false;
assert.deepEqual(component.foo, { hello: true, world: true });
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does default.test() do?
default.test() is a function in the svelte codebase, defined in packages/svelte/tests/runtime-legacy/samples/reactive-values-subscript-assignment/_config.js.
Where is default.test() defined?
default.test() is defined in packages/svelte/tests/runtime-legacy/samples/reactive-values-subscript-assignment/_config.js at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free