Home / Function/ default.test() — svelte Function Reference

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
  a6135ad5_52ba_e97c_2c53_f2e35da15b2f["default.test()"]
  b688417e_6aba_db0e_55f6_df931f60581a["_config.js"]
  a6135ad5_52ba_e97c_2c53_f2e35da15b2f -->|defined in| b688417e_6aba_db0e_55f6_df931f60581a
  style a6135ad5_52ba_e97c_2c53_f2e35da15b2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/runtime-legacy/samples/binding-this-each-block-property-component/_config.js lines 6–16

	async test({ assert, component, target }) {
		component.visible = true;
		assert.htmlEqual(
			target.innerHTML,
			`
			<p>a</p>
		`
		);

		assert.ok(component.items[0].ref.isFoo());
	}

Domain

Subdomains

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/binding-this-each-block-property-component/_config.js.
Where is default.test() defined?
default.test() is defined in packages/svelte/tests/runtime-legacy/samples/binding-this-each-block-property-component/_config.js at line 6.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free