Home / File/ test.ts — svelte Source File

test.ts — svelte Source File

Architecture documentation for test.ts, a typescript file in the svelte codebase. 4 imports, 4 dependents.

File typescript BuildSystem 4 imports 4 dependents

Entity Profile

Dependency Diagram

graph LR
  094b8f2c_b044_4859_3ac9_8beb87a2fb8f["test.ts"]
  2cf8977f_8bb9_9ef1_6e90_d6eea1dac831["shared.ts"]
  094b8f2c_b044_4859_3ac9_8beb87a2fb8f --> 2cf8977f_8bb9_9ef1_6e90_d6eea1dac831
  b45b5cf8_6c5d_e1ba_4b66_21708749a523["runtime_suite"]
  094b8f2c_b044_4859_3ac9_8beb87a2fb8f --> b45b5cf8_6c5d_e1ba_4b66_21708749a523
  e0f56bc4_8fa8_0882_a684_49903e32cc5a["ok"]
  094b8f2c_b044_4859_3ac9_8beb87a2fb8f --> e0f56bc4_8fa8_0882_a684_49903e32cc5a
  b63ddb92_634c_990b_eb1b_0bad8a4d434e["vitest"]
  094b8f2c_b044_4859_3ac9_8beb87a2fb8f --> b63ddb92_634c_990b_eb1b_0bad8a4d434e
  70ee6525_dcab_eab8_e8aa_c8b4c6dce29e["_config.js"]
  70ee6525_dcab_eab8_e8aa_c8b4c6dce29e --> 094b8f2c_b044_4859_3ac9_8beb87a2fb8f
  9a0e62f4_4572_7cf3_9349_46ce4d4d735e["_config.js"]
  9a0e62f4_4572_7cf3_9349_46ce4d4d735e --> 094b8f2c_b044_4859_3ac9_8beb87a2fb8f
  13583e79_ab57_a9ab_06e7_95b96a66b923["_config.js"]
  13583e79_ab57_a9ab_06e7_95b96a66b923 --> 094b8f2c_b044_4859_3ac9_8beb87a2fb8f
  5569a1b8_3bbc_b322_78a8_b9f9cd840361["_config.js"]
  5569a1b8_3bbc_b322_78a8_b9f9cd840361 --> 094b8f2c_b044_4859_3ac9_8beb87a2fb8f
  style 094b8f2c_b044_4859_3ac9_8beb87a2fb8f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @vitest-environment jsdom

import { vi } from 'vitest';
import { runtime_suite, ok } from '../runtime-legacy/shared';

vi.mock('esm-env', async (importEnv) => {
	return {
		...(await importEnv()),
		DEV: false
	};
});

const { test, run } = runtime_suite(true);

export { test, ok };

await run(__dirname);

Domain

Dependencies

Frequently Asked Questions

What does test.ts do?
test.ts is a source file in the svelte codebase, written in typescript. It belongs to the BuildSystem domain.
What does test.ts depend on?
test.ts imports 4 module(s): ok, runtime_suite, shared.ts, vitest.
What files import test.ts?
test.ts is imported by 4 file(s): _config.js, _config.js, _config.js, _config.js.
Where is test.ts in the architecture?
test.ts is located at packages/svelte/tests/runtime-production/test.ts (domain: BuildSystem, directory: packages/svelte/tests/runtime-production).

Analyze Your Own Codebase

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

Try Supermodel Free