Home / Class/ FakeDebugInfoProvider Class — astro Architecture

FakeDebugInfoProvider Class — astro Architecture

Architecture documentation for the FakeDebugInfoProvider class in utils.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  c7767a9d_667e_94e3_52ec_ac8fc4973e6a["FakeDebugInfoProvider"]
  dc38b823_10e6_0080_9a8c_08dc7cc3e0eb["utils.js"]
  c7767a9d_667e_94e3_52ec_ac8fc4973e6a -->|defined in| dc38b823_10e6_0080_9a8c_08dc7cc3e0eb
  ea4ea40d_9e58_4ce5_d1e9_ec8c0ec4f25c["constructor()"]
  c7767a9d_667e_94e3_52ec_ac8fc4973e6a -->|method| ea4ea40d_9e58_4ce5_d1e9_ec8c0ec4f25c
  2f6f0285_5e78_e118_ffc9_65d007a7a2a8["get()"]
  c7767a9d_667e_94e3_52ec_ac8fc4973e6a -->|method| 2f6f0285_5e78_e118_ffc9_65d007a7a2a8

Relationship Graph

Source Code

packages/astro/test/units/cli/utils.js lines 167–181

export class FakeDebugInfoProvider {
	/** @type {DebugInfo} */
	#debugInfo;

	/**
	 * @param {DebugInfo} debugInfo
	 */
	constructor(debugInfo) {
		this.#debugInfo = debugInfo;
	}

	async get() {
		return this.#debugInfo;
	}
}

Frequently Asked Questions

What is the FakeDebugInfoProvider class?
FakeDebugInfoProvider is a class in the astro codebase, defined in packages/astro/test/units/cli/utils.js.
Where is FakeDebugInfoProvider defined?
FakeDebugInfoProvider is defined in packages/astro/test/units/cli/utils.js at line 167.

Analyze Your Own Codebase

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

Try Supermodel Free