integrations.test.js — astro Source File
Architecture documentation for integrations.test.js, a javascript file in the astro codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c["integrations.test.js"] 880e345d_e64a_cd56_e5a1_121b9c58fefd["../dist/index.js"] aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c --> 880e345d_e64a_cd56_e5a1_121b9c58fefd a235a0d7_582f_6d3a_e9ba_44a62def6ef3["utils.js"] aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c --> a235a0d7_582f_6d3a_e9ba_44a62def6ef3 ba39c8a0_fa83_d32e_0c60_ad5c1c131c40["setup"] aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c --> ba39c8a0_fa83_d32e_0c60_ad5c1c131c40 e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"] aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c --> 6b0635f9_51ea_77aa_767b_7857878e98a6 style aa1d2d3b_2463_0937_4f17_8d53cfa1fe3c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { dependencies } from '../dist/index.js';
import { setup } from './utils.js';
describe('integrations', () => {
const fixture = setup();
it('--add node', async () => {
const context = {
cwd: '',
yes: true,
packageManager: 'npm',
dryRun: true,
add: ['node'],
};
await dependencies(context);
assert.ok(fixture.hasMessage('--dry-run Skipping dependency installation and adding node'));
});
it('--add node --add react', async () => {
const context = {
cwd: '',
yes: true,
packageManager: 'npm',
dryRun: true,
add: ['node', 'react'],
};
await dependencies(context);
assert.ok(
fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'),
);
});
it('--add node,react', async () => {
const context = {
cwd: '',
yes: true,
packageManager: 'npm',
dryRun: true,
add: ['node,react'],
};
await dependencies(context);
assert.ok(
fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'),
);
});
it('-y', async () => {
const context = {
cwd: '',
yes: true,
packageManager: 'npm',
dryRun: true,
// ... (138 more lines)
Domain
Source
Frequently Asked Questions
What does integrations.test.js do?
integrations.test.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain.
What does integrations.test.js depend on?
integrations.test.js imports 5 module(s): ../dist/index.js, node:test, setup, strict, utils.js.
Where is integrations.test.js in the architecture?
integrations.test.js is located at packages/create-astro/test/integrations.test.js (domain: CoreAstro, directory: packages/create-astro/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free