Skip to content

Commit 9bb1e78

Browse files
cexbrayatpkozlowski-opensource
authored andcommitted
docs: remove private utils from testing skills
1 parent b82901f commit 9bb1e78

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

skills/dev-skills/angular-developer/references/testing-fundamentals.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,3 @@ describe('MyComponent', () => {
6464
- `fixture.componentInstance`: Access the component's class instance.
6565
- `fixture.nativeElement`: Access the component's root DOM element.
6666
- `fixture.debugElement`: An Angular-specific wrapper around the `nativeElement` that provides safer, platform-agnostic ways to query the DOM (e.g., `debugElement.query(By.css('p'))`).
67-
68-
## Custom Utilities
69-
70-
To keep tests fast and avoid long waits, this project provides custom utilities:
71-
72-
- **`useAutoTick()`**: (from `packages/private/testing/src/utils.ts`) Fast-forwards time via a mock clock to avoid real waits.
73-
- **`await timeout(ms)`**: (from `packages/private/testing/src/utils.ts`) Use for cases where a specific real-time delay is unavoidable.
74-
75-
Always prefer `useAutoTick()` to keep tests efficient.

0 commit comments

Comments
 (0)