server-islands.test.js — astro Source File
Architecture documentation for server-islands.test.js, a javascript file in the astro codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e7ad5001_6281_4d6e_0db7_e4d38dc328bc["server-islands.test.js"] 81c783ff_7259_703c_7bdc_c78ff183642d["test-utils.js"] e7ad5001_6281_4d6e_0db7_e4d38dc328bc --> 81c783ff_7259_703c_7bdc_c78ff183642d f0817fb3_f192_bfcf_f1b0_c1a429dad07b["loadFixture"] e7ad5001_6281_4d6e_0db7_e4d38dc328bc --> f0817fb3_f192_bfcf_f1b0_c1a429dad07b e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"] e7ad5001_6281_4d6e_0db7_e4d38dc328bc --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] e7ad5001_6281_4d6e_0db7_e4d38dc328bc --> 6b0635f9_51ea_77aa_767b_7857878e98a6 style e7ad5001_6281_4d6e_0db7_e4d38dc328bc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { before, describe, it } from 'node:test';
import { loadFixture } from './test-utils.js';
describe('Server Islands', () => {
/** @type {import('./test-utils.js').Fixture} */
let fixture;
before(async () => {
fixture = await loadFixture({
root: './fixtures/server-islands/',
});
await fixture.build();
});
it('server islands route is in the config', async () => {
const config = JSON.parse(await fixture.readFile('../.vercel/output/config.json'));
let found = null;
for (const route of config.routes) {
if (route.src?.includes('_server-islands')) {
found = route;
break;
}
}
assert.notEqual(found, null, 'Default server islands route included');
});
});
Domain
Dependencies
- loadFixture
- node:test
- strict
- test-utils.js
Source
Frequently Asked Questions
What does server-islands.test.js do?
server-islands.test.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain.
What does server-islands.test.js depend on?
server-islands.test.js imports 4 module(s): loadFixture, node:test, strict, test-utils.js.
Where is server-islands.test.js in the architecture?
server-islands.test.js is located at packages/integrations/vercel/test/server-islands.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