impostor-mdx-file.test.js — astro Source File
Architecture documentation for impostor-mdx-file.test.js, a javascript file in the astro codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 701f6ce5_7aee_7707_6ef2_260dffc9abde["impostor-mdx-file.test.js"] 00a2554b_127e_f517_31a9_3bcd1edd111d["test-utils.js"] 701f6ce5_7aee_7707_6ef2_260dffc9abde --> 00a2554b_127e_f517_31a9_3bcd1edd111d a2e8916f_09d6_61ff_ee5e_719f62dea5c4["loadFixture"] 701f6ce5_7aee_7707_6ef2_260dffc9abde --> a2e8916f_09d6_61ff_ee5e_719f62dea5c4 0e588d0c_5409_f008_bf3b_3762dd6c1c5a["strict"] 701f6ce5_7aee_7707_6ef2_260dffc9abde --> 0e588d0c_5409_f008_bf3b_3762dd6c1c5a fa887d9d_247c_d770_d661_490745669024["node:test"] 701f6ce5_7aee_7707_6ef2_260dffc9abde --> fa887d9d_247c_d770_d661_490745669024 style 701f6ce5_7aee_7707_6ef2_260dffc9abde fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import assert from 'node:assert/strict';
import { after, before, describe, it } from 'node:test';
import { isWindows, loadFixture } from './test-utils.js';
let fixture;
describe('Impostor MDX File', () => {
before(async () => {
fixture = await loadFixture({
root: './fixtures/impostor-mdx-file/',
});
});
if (isWindows) return;
describe('dev', () => {
/** @type {import('./test-utils').Fixture} */
let devServer;
before(async () => {
devServer = await fixture.startDevServer();
});
after(async () => {
await devServer.stop();
});
it('does not crash when loading react component with .md or .mdx in name', async () => {
const result = await fixture.fetch('/').then((response) => response.text());
assert.equal(result.includes('Baz'), true);
});
});
});
Domain
Dependencies
- loadFixture
- node:test
- strict
- test-utils.js
Source
Frequently Asked Questions
What does impostor-mdx-file.test.js do?
impostor-mdx-file.test.js is a source file in the astro codebase, written in javascript. It belongs to the TestingInfrastructure domain.
What does impostor-mdx-file.test.js depend on?
impostor-mdx-file.test.js imports 4 module(s): loadFixture, node:test, strict, test-utils.js.
Where is impostor-mdx-file.test.js in the architecture?
impostor-mdx-file.test.js is located at packages/astro/test/impostor-mdx-file.test.js (domain: TestingInfrastructure, directory: packages/astro/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free