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

default.test_ssr() — svelte Function Reference

Architecture documentation for the default.test_ssr() function in _config.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  453c90c9_cd02_7daf_e57b_2a4093020eaf["default.test_ssr()"]
  abac87cc_5d1b_ff63_a467_a4f2fb85747e["_config.js"]
  453c90c9_cd02_7daf_e57b_2a4093020eaf -->|defined in| abac87cc_5d1b_ff63_a467_a4f2fb85747e
  style 453c90c9_cd02_7daf_e57b_2a4093020eaf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/runtime-runes/samples/hydratable-unused-keys-nesting-partial/_config.js lines 12–16

	test_ssr({ assert, warnings }) {
		assert.strictEqual(warnings.length, 1);
		// for some strange reason we trim the error code off the beginning of warnings so I can't actually assert it
		assert.include(warnings[0], 'A `hydratable` value with key `partially_used`');
	},

Domain

Subdomains

Frequently Asked Questions

What does default.test_ssr() do?
default.test_ssr() is a function in the svelte codebase, defined in packages/svelte/tests/runtime-runes/samples/hydratable-unused-keys-nesting-partial/_config.js.
Where is default.test_ssr() defined?
default.test_ssr() is defined in packages/svelte/tests/runtime-runes/samples/hydratable-unused-keys-nesting-partial/_config.js at line 12.

Analyze Your Own Codebase

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

Try Supermodel Free