check.test.js — astro Source File
Architecture documentation for check.test.js, a javascript file in the astro codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0517cd6a_306a_a76e_4947_ad2721c4ec9b["check.test.js"] 0a624eac_945e_c9e8_c9de_3feb9de2dd15["test-utils.js"] 0517cd6a_306a_a76e_4947_ad2721c4ec9b --> 0a624eac_945e_c9e8_c9de_3feb9de2dd15 059d6180_e8b9_fe3d_9d0c_6c7c63b89996["cli"] 0517cd6a_306a_a76e_4947_ad2721c4ec9b --> 059d6180_e8b9_fe3d_9d0c_6c7c63b89996 e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"] 0517cd6a_306a_a76e_4947_ad2721c4ec9b --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] 0517cd6a_306a_a76e_4947_ad2721c4ec9b --> 6b0635f9_51ea_77aa_767b_7857878e98a6 d9a92db9_c95e_9165_13ac_24b3d859d946["node:url"] 0517cd6a_306a_a76e_4947_ad2721c4ec9b --> d9a92db9_c95e_9165_13ac_24b3d859d946 style 0517cd6a_306a_a76e_4947_ad2721c4ec9b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { fileURLToPath } from 'node:url';
import { cli } from '../../../astro/test/test-utils.js';
describe('Vue Check', () => {
it('should pass check for client directives and HTML attributes on Vue components', async () => {
const root = fileURLToPath(new URL('./fixtures/prop-types/types/directive', import.meta.url));
const tsConfigPath = fileURLToPath(
new URL('./fixtures/prop-types/tsconfig.directive.json', import.meta.url),
);
const { getResult } = cli('check', '--tsconfig', tsConfigPath, '--root', root);
const { exitCode, stdout, stderr } = await getResult();
if (exitCode !== 0) {
console.error(stdout);
console.error(stderr);
}
assert.equal(exitCode, 0, 'Expected check to pass (exit code 0)');
});
});
Domain
Dependencies
- cli
- node:test
- node:url
- strict
- test-utils.js
Source
Frequently Asked Questions
What does check.test.js do?
check.test.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain.
What does check.test.js depend on?
check.test.js imports 5 module(s): cli, node:test, node:url, strict, test-utils.js.
Where is check.test.js in the architecture?
check.test.js is located at packages/integrations/vue/test/check.test.js (domain: CoreAstro, directory: packages/integrations/vue/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free