Home / Function/ buildFixture() — astro Function Reference

buildFixture() — astro Function Reference

Architecture documentation for the buildFixture() function in mdx-plugins.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  3c8e19c6_a6bf_3fe9_fcc2_83c525538edb["buildFixture()"]
  e8760276_ae78_8548_876c_cdc1c14c40af["mdx-plugins.test.js"]
  3c8e19c6_a6bf_3fe9_fcc2_83c525538edb -->|defined in| e8760276_ae78_8548_876c_cdc1c14c40af
  dd4f09ce_3fd7_8295_f616_8876cda4555c["loadFixture()"]
  3c8e19c6_a6bf_3fe9_fcc2_83c525538edb -->|calls| dd4f09ce_3fd7_8295_f616_8876cda4555c
  style 3c8e19c6_a6bf_3fe9_fcc2_83c525538edb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/mdx/test/mdx-plugins.test.js lines 225–232

async function buildFixture(config) {
	const fixture = await loadFixture({
		root: FIXTURE_ROOT,
		...config,
	});
	await fixture.build();
	return fixture;
}

Domain

Subdomains

Frequently Asked Questions

What does buildFixture() do?
buildFixture() is a function in the astro codebase, defined in packages/integrations/mdx/test/mdx-plugins.test.js.
Where is buildFixture() defined?
buildFixture() is defined in packages/integrations/mdx/test/mdx-plugins.test.js at line 225.
What does buildFixture() call?
buildFixture() calls 1 function(s): loadFixture.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free