Skip to content

Commit fb2459a

Browse files
committed
docs: adjust testing docs
1 parent 4b0ec0d commit fb2459a

File tree

1 file changed

+2
-2
lines changed
  • apps/astro-docs/src/content/docs/blog

1 file changed

+2
-2
lines changed

apps/astro-docs/src/content/docs/blog/v2.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,14 @@ The testing API is currently in Developer Preview and may be subject to changes
385385

386386
:::
387387

388-
### Key Features
388+
#### Key Features
389389

390390
1. **NgtTestBed**: A utility that extends Angular's TestBed, specifically tailored for Angular Three components.
391391
2. **Mocked Rendering**: Tests run without actual 3D rendering, focusing on scene graph state assertions.
392392
3. **Event Simulation**: Ability to simulate Three.js-specific events like `click`, `pointerover`, etc.
393393
4. **Animation Frame Control**: Methods to advance animation frames for testing time-based behaviors.
394394

395-
### Basic Usage
395+
#### Basic Usage
396396

397397
Here's a simple example of how you might use the testing utilities:
398398

0 commit comments

Comments
 (0)