Home / Function/ assert_not_located() — svelte Function Reference

assert_not_located() — svelte Function Reference

Architecture documentation for the assert_not_located() function in helpers.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  a9bacd7f_e6fd_db81_6db6_295cada0e444["assert_not_located()"]
  740dc682_957b_322a_475e_aac0e8ee02bc["helpers.js"]
  a9bacd7f_e6fd_db81_6db6_295cada0e444 -->|defined in| 740dc682_957b_322a_475e_aac0e8ee02bc
  style a9bacd7f_e6fd_db81_6db6_295cada0e444 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/sourcemaps/helpers.js lines 75–81

export function assert_not_located(code, locate, filename = 'input.svelte') {
	assert.equal(
		locate(code),
		undefined,
		`located "${code}" that should be removed from ${filename}`
	);
}

Domain

Subdomains

Frequently Asked Questions

What does assert_not_located() do?
assert_not_located() is a function in the svelte codebase, defined in packages/svelte/tests/sourcemaps/helpers.js.
Where is assert_not_located() defined?
assert_not_located() is defined in packages/svelte/tests/sourcemaps/helpers.js at line 75.

Analyze Your Own Codebase

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

Try Supermodel Free