Home / File/ teardown.ts — astro Source File

teardown.ts — astro Source File

Architecture documentation for teardown.ts, a typescript file in the astro codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  dd56b4e9_7ab4_74c8_ba6b_a3ef5fa79a61["teardown.ts"]
  923db4e1_01a0_98ab_9c38_dfe16dd4bada["server.ts"]
  dd56b4e9_7ab4_74c8_ba6b_a3ef5fa79a61 --> 923db4e1_01a0_98ab_9c38_dfe16dd4bada
  9cf7acc9_e2e5_26e3_64f0_7304d1983c86["getLanguageServer"]
  dd56b4e9_7ab4_74c8_ba6b_a3ef5fa79a61 --> 9cf7acc9_e2e5_26e3_64f0_7304d1983c86
  6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"]
  dd56b4e9_7ab4_74c8_ba6b_a3ef5fa79a61 --> 6b0635f9_51ea_77aa_767b_7857878e98a6
  style dd56b4e9_7ab4_74c8_ba6b_a3ef5fa79a61 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { describe, it } from 'node:test';
import { getLanguageServer } from '../server.ts';

describe('Teardown', () => {
	it('Can teardown', async () => {
		const languageServer = await getLanguageServer();
		languageServer.handle.connection.dispose();
		languageServer.handle.process.kill();
	});
});

Domain

Dependencies

Frequently Asked Questions

What does teardown.ts do?
teardown.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does teardown.ts depend on?
teardown.ts imports 3 module(s): getLanguageServer, node:test, server.ts.
Where is teardown.ts in the architecture?
teardown.ts is located at packages/language-tools/language-server/test/misc/teardown.ts (domain: CoreAstro, directory: packages/language-tools/language-server/test/misc).

Analyze Your Own Codebase

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

Try Supermodel Free