check.test.ts — astro Source File
Architecture documentation for check.test.ts, a typescript file in the astro codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR dc82c740_0d8e_8249_4697_b7d62dbae4e2["check.test.ts"] 03430674_757c_a0c4_8f39_e18b0e9676b9["../dist/index.js"] dc82c740_0d8e_8249_4697_b7d62dbae4e2 --> 03430674_757c_a0c4_8f39_e18b0e9676b9 db323e8c_04ef_9777_0487_224de5819a30["node:assert"] dc82c740_0d8e_8249_4697_b7d62dbae4e2 --> db323e8c_04ef_9777_0487_224de5819a30 c52a5f83_66e3_37d7_9ebb_767f7129bc62["node:path"] dc82c740_0d8e_8249_4697_b7d62dbae4e2 --> c52a5f83_66e3_37d7_9ebb_767f7129bc62 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] dc82c740_0d8e_8249_4697_b7d62dbae4e2 --> 6b0635f9_51ea_77aa_767b_7857878e98a6 style dc82c740_0d8e_8249_4697_b7d62dbae4e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert';
import path from 'node:path';
import { describe, it } from 'node:test';
import { check } from '../dist/index.js';
describe('astro-check - js api', async () => {
it('can check a project', async () => {
const hasError = await check({
root: './fixture',
tsconfig: path.resolve(process.cwd(), './test/fixture/tsconfig.json'),
});
assert.notStrictEqual(hasError, undefined);
assert.strictEqual(hasError, true);
});
// TODO: Test `watch` option once we have a way to pass a custom logger
});
Domain
Dependencies
- ../dist/index.js
- node:assert
- node:path
- node:test
Source
Frequently Asked Questions
What does check.test.ts do?
check.test.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does check.test.ts depend on?
check.test.ts imports 4 module(s): ../dist/index.js, node:assert, node:path, node:test.
Where is check.test.ts in the architecture?
check.test.ts is located at packages/language-tools/astro-check/test/check.test.ts (domain: CoreAstro, directory: packages/language-tools/astro-check/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free