Home / File/ _config.js — svelte Source File

_config.js — svelte Source File

Architecture documentation for _config.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  7241542d_d7db_bd69_2dca_37388fb7664b["_config.js"]
  d952c6b0_fdc4_6752_d5aa_0b4adfa256ee["test.ts"]
  7241542d_d7db_bd69_2dca_37388fb7664b --> d952c6b0_fdc4_6752_d5aa_0b4adfa256ee
  style 7241542d_d7db_bd69_2dca_37388fb7664b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { test } from '../../test';

export default test({
	html: '<button>Tama</button><button>Pochi</button><br><button>Change Function</button>',

	test({ assert, logs, target }) {
		const [b1, b2, b3] = target.querySelectorAll('button');

		b1?.click();
		b2?.click();
		b3?.click();
		b1?.click();
		b2?.click();

		assert.deepEqual(logs, [
			'creating "Hello" handler for Tama',
			'Hello Tama',
			'creating "Hello" handler for Pochi',
			'Hello Pochi',
			'creating "Bye" handler for Tama',
			'Bye Tama',
			'creating "Bye" handler for Pochi',
			'Bye Pochi'
		]);
	}
});

Domain

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does _config.js do?
_config.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, MessageProcessor subdomain.
What functions are defined in _config.js?
_config.js defines 1 function(s): default.test.
What does _config.js depend on?
_config.js imports 1 module(s): test.ts.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/runtime-runes/samples/dynamic-event-handler-2/_config.js (domain: BuildSystem, subdomain: MessageProcessor, directory: packages/svelte/tests/runtime-runes/samples/dynamic-event-handler-2).

Analyze Your Own Codebase

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

Try Supermodel Free