underscore-in-folder-name.test.js — astro Source File
Architecture documentation for underscore-in-folder-name.test.js, a javascript file in the astro codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 390f6432_24c0_f72d_bb9e_12d8e93bdc2c["underscore-in-folder-name.test.js"] be670a78_841c_46e5_0af5_c5c328869ecb["test-adapter.js"] 390f6432_24c0_f72d_bb9e_12d8e93bdc2c --> be670a78_841c_46e5_0af5_c5c328869ecb 0a624eac_945e_c9e8_c9de_3feb9de2dd15["test-utils.js"] 390f6432_24c0_f72d_bb9e_12d8e93bdc2c --> 0a624eac_945e_c9e8_c9de_3feb9de2dd15 dd4f09ce_3fd7_8295_f616_8876cda4555c["loadFixture"] 390f6432_24c0_f72d_bb9e_12d8e93bdc2c --> dd4f09ce_3fd7_8295_f616_8876cda4555c e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"] 390f6432_24c0_f72d_bb9e_12d8e93bdc2c --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607 6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"] 390f6432_24c0_f72d_bb9e_12d8e93bdc2c --> 6b0635f9_51ea_77aa_767b_7857878e98a6 style 390f6432_24c0_f72d_bb9e_12d8e93bdc2c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { before, describe, it } from 'node:test';
import testAdapter from './test-adapter.js';
import { loadFixture } from './test-utils.js';
describe('Projects with a underscore in the folder name', () => {
let fixture;
before(async () => {
fixture = await loadFixture({
root: './fixtures/_underscore in folder name/',
output: 'static',
adapter: testAdapter(),
});
await fixture.build();
});
it('includes page from node_modules/fake-astro-library', async () => {
const app = await fixture.loadTestAdapterApp();
/** @type {Set<string>} */
const assets = app.manifest.assets;
assert.equal(assets.has('/index.html'), true);
assert.equal(assets.has('/404.html'), true);
});
});
Domain
Dependencies
- loadFixture
- node:test
- strict
- test-adapter.js
- test-utils.js
Source
Frequently Asked Questions
What does underscore-in-folder-name.test.js do?
underscore-in-folder-name.test.js is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain.
What does underscore-in-folder-name.test.js depend on?
underscore-in-folder-name.test.js imports 5 module(s): loadFixture, node:test, strict, test-adapter.js, test-utils.js.
Where is underscore-in-folder-name.test.js in the architecture?
underscore-in-folder-name.test.js is located at packages/astro/test/underscore-in-folder-name.test.js (domain: IntegrationAdapters, directory: packages/astro/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free