integration-assets.test.js — astro Source File
Architecture documentation for integration-assets.test.js, a javascript file in the astro codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR decc90d5_05d1_ac0f_2de4_e1b611dd84c6["integration-assets.test.js"] 81c783ff_7259_703c_7bdc_c78ff183642d["test-utils.js"] decc90d5_05d1_ac0f_2de4_e1b611dd84c6 --> 81c783ff_7259_703c_7bdc_c78ff183642d f0817fb3_f192_bfcf_f1b0_c1a429dad07b["loadFixture"] decc90d5_05d1_ac0f_2de4_e1b611dd84c6 --> f0817fb3_f192_bfcf_f1b0_c1a429dad07b e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"] decc90d5_05d1_ac0f_2de4_e1b611dd84c6 --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] decc90d5_05d1_ac0f_2de4_e1b611dd84c6 --> 6b0635f9_51ea_77aa_767b_7857878e98a6 style decc90d5_05d1_ac0f_2de4_e1b611dd84c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { loadFixture } from './test-utils.js';
describe('Assets generated by integrations', () => {
it('moves static assets generated by integrations to the correct location: static output', async () => {
const fixture = await loadFixture({
root: './fixtures/integration-assets/',
});
await fixture.build();
const sitemap = await fixture.readFile('../.vercel/output/static/sitemap-index.xml');
assert(sitemap.includes('<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'));
});
it('moves static assets generated by integrations to the correct location: server output', async () => {
const fixture = await loadFixture({
root: './fixtures/integration-assets/',
output: 'server',
});
await fixture.build();
const sitemap = await fixture.readFile('../.vercel/output/static/sitemap-index.xml');
assert(sitemap.includes('<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'));
});
});
Domain
Dependencies
- loadFixture
- node:test
- strict
- test-utils.js
Source
Frequently Asked Questions
What does integration-assets.test.js do?
integration-assets.test.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain.
What does integration-assets.test.js depend on?
integration-assets.test.js imports 4 module(s): loadFixture, node:test, strict, test-utils.js.
Where is integration-assets.test.js in the architecture?
integration-assets.test.js is located at packages/integrations/vercel/test/integration-assets.test.js (domain: CoreAstro, directory: packages/integrations/vercel/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free